Closed
Description
Feature or enhancement
Since Python 3.2, pressing ctrl-c
(SIGINT
) interrupts threading.Lock.acquire()
on POSIX platforms, including Linux and macOS. However, this does not work on Windows.
Now that threading.Lock
and threading.RLock
use PyMutex
and _PyRecursiveMutex
internally, this should be a lot easier to implement efficiently.
See also #125058
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Done