File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,10 +249,9 @@ _PyRawMutex_LockSlow(_PyRawMutex *m)
249249 // Wait for us to be woken up. Note that we still have to lock the
250250 // mutex ourselves: it is NOT handed off to us.
251251 //
252- // Loop until we observe an actual wakeup. Spurious returns (e.g.
253- // Py_PARK_INTR from sigint_event on the main thread on Windows, or
254- // EINTR on POSIX) could otherwise let us exit _PySemaphore_Wait and
255- // destroy `waiter.sema` while _PyRawMutex_UnlockSlow's matching
252+ // Loop until we observe an actual wakeup. A return of Py_PARK_INTR
253+ // could otherwise let us exit _PySemaphore_Wait and destroy
254+ // `waiter.sema` while _PyRawMutex_UnlockSlow's matching
256255 // _PySemaphore_Wakeup is still pending, since the unlocker has
257256 // already CAS-removed us from the waiter list without any handshake.
258257 int res ;
You can’t perform that action at this time.
0 commit comments