Skip to content

threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC) #57031

@methane

Description

@methane
BPO 12822
Nosy @malemburg, @pitrou, @vstinner, @methane
PRs
  • bpo-12822: use monotonic clock for condvar if possible #11723
  • bpo-12822: use monotonic clock for condvar if possible #11723
  • Files
  • use_monotonic_clock.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-02-20.01:00:28.338>
    created_at = <Date 2011-08-23.07:43:36.382>
    labels = ['interpreter-core', 'type-bug', '3.8']
    title = 'threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC)'
    updated_at = <Date 2021-10-01.08:52:42.541>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2021-10-01.08:52:42.541>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-02-20.01:00:28.338>
    closer = 'methane'
    components = ['Interpreter Core']
    creation = <Date 2011-08-23.07:43:36.382>
    creator = 'methane'
    dependencies = []
    files = ['23013']
    hgrepos = []
    issue_num = 12822
    keywords = ['patch']
    message_count = 13.0
    messages = ['142789', '142791', '142856', '142858', '142859', '148525', '148528', '148529', '155837', '334621', '334623', '336032', '336061']
    nosy_count = 5.0
    nosy_names = ['lemburg', 'pitrou', 'vstinner', 'methane', 'neologix']
    pr_nums = ['11723', '11723']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12822'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions