bpo-30768: Recompute timeout on interrupted lock by vstinner · Pull Request #4103 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

: Recompute timeout on interrupted lock

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

View reviewed changes

Adjust PY_TIMEOUT_MAX to prevent overflow

Fix _thread.TIMEOUT_MAX rounding on Windows

Fatal error if timeout > PY_TIMEOUT_MAX

View reviewed changes

View reviewed changes

Remove now unused "exit" label

Update generated code: run "make clinic"

Merge branch 'master' into sem_timedwait

PyThread_acquire_lock_timed() should recompute the timeout when interrupted by a signal #74953

⌂git
1/1