[Python-checkins] Fix typo in block comment in Include/internal/pycore_condvar.h (GH-26457)
nanjekyejoannah
webhook-mailer at python.org
Tue Jun 1 17:30:14 EDT 2021
https://github.com/python/cpython/commit/fcda0f508ead26581a77108de19b278c4d062dc4
commit: fcda0f508ead26581a77108de19b278c4d062dc4
branch: main
author: Rishi <rishi_devan at mail.com>
committer: nanjekyejoannah <33177550+nanjekyejoannah at users.noreply.github.com>
date: 2021-06-01T18:30:05-03:00
summary:
Fix typo in block comment in Include/internal/pycore_condvar.h (GH-26457)
files:
M Include/internal/pycore_condvar.h
diff --git a/Include/internal/pycore_condvar.h b/Include/internal/pycore_condvar.h
index 8b89d709510a3..edb7dc8193cb8 100644
--- a/Include/internal/pycore_condvar.h
+++ b/Include/internal/pycore_condvar.h
@@ -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
More information about the Python-checkins
mailing list