-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Make ctrl-c
interrupt threading.Lock.acquire()
on Windows
#125541
New issue
Have 8000 a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
You mean here Line 114 in aac89b5
|
Yes, we can use |
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 15, 2024
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 15, 2024
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 15, 2024
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 15, 2024
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 15, 2024
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 15, 2024
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 15, 2024
pitrou
pushed a commit
that referenced
this issue
Oct 17, 2024
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Feature or enhancement
Since Python 3.2, pressing
ctrl-c
(SIGINT
) interruptsthreading.Lock.acquire()
on POSIX platforms, including Linux and macOS. However, this does not work on Windows.Now that
threading.Lock
andthreading.RLock
usePyMutex
and_PyRecursiveMutex
internally, this should be a lot easier to implement efficiently.See also #125058
cc @pitrou @zooba @gpshead
Linked PRs
threading.Lock.acquire()
on Windows #125546The text was updated successfully, but these errors were encountered: