Fix typo in block comment in Include/internal/pycore_condvar.h (GH-26457)

This commit is contained in:
Rishi 2021-06-01 23:30:05 +02:00 committed by GitHub
parent 87272b70f1
commit fcda0f508e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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