mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Fix typo in block comment in Include/internal/pycore_condvar.h (GH-26457)
This commit is contained in:
parent
87272b70f1
commit
fcda0f508e
@ -60,7 +60,7 @@ typedef CRITICAL_SECTION PyMUTEX_T;
|
||||
with a Semaphore.
|
||||
Semaphores are available on Windows XP (2003 server) and later.
|
||||
We use a Semaphore rather than an auto-reset event, because although
|
||||
an auto-resent event might appear to solve the lost-wakeup bug (race
|
||||
an auto-reset event might appear to solve the lost-wakeup bug (race
|
||||
condition between releasing the outer lock and waiting) because it
|
||||
maintains state even though a wait hasn't happened, there is still
|
||||
a lost wakeup problem if more than one thread are interrupted in the
|
||||
|
Loading…
Reference in New Issue
Block a user