Skip to content

EnterNonRecursiveMutex on win32 can hang for 49.7 days: use GetTickCount64() rather than GetTickCount() #84028

Closed
@bobince

Description

@bobince
mannequin
BPO 39847
Nosy @pfmoore, @vstinner, @tjguk, @bobince, @zware, @zooba, @miss-islington, @sparrowt
PRs
  • bpo-39847: win32: don't over-wait for mutex after tickcount overflow #18780
  • [3.8] bpo-39847: EnterNonRecursiveMutex() uses GetTickCount64() (GH-18780) #18945
  • [3.7] bpo-39847: EnterNonRecursiveMutex() uses GetTickCount64() (GH-18780) #18959
  • 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 2020-03-12.14:29:14.812>
    created_at = <Date 2020-03-04.13:20:26.946>
    labels = ['type-bug', '3.8', '3.9', '3.7', 'library', 'OS-windows']
    title = 'EnterNonRecursiveMutex on win32 can hang for 49.7 days: use GetTickCount64() rather than GetTickCount()'
    updated_at = <Date 2020-03-12.14:29:14.811>
    user = 'https://github.com/bobince'

    bugs.python.org fields:

    activity = <Date 2020-03-12.14:29:14.811>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-12.14:29:14.812>
    closer = 'vstinner'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2020-03-04.13:20:26.946>
    creator = 'aclover'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39847
    keywords = ['patch']
    message_count = 7.0
    messages = ['363346', '363347', '363351', '363986', '363989', '364022', '364023']
    nosy_count = 9.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'aclover', 'zach.ware', 'steve.dower', 'miss-islington', 'Day Barr', 'sparrowt']
    pr_nums = ['18780', '18945', '18959']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39847'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9only security fixesOS-windowsstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions