[issue45301] pycore_condvar.h: remove Windows conditonal variable emulation

Steve Dower report at bugs.python.org
Mon Sep 27 12:45:41 EDT 2021


Steve Dower <steve.dower at python.org> added the comment:

> SleepConditionVariableSRW() can't be interrupted in PyCOND_WAIT() and PyCOND_TIMEDWAIT()

This was my immediate reaction as well.

Unfortunately, we keep seeing that all waits need to be interruptible, so either a WaitForMultipleObjects or a slow spinlock.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45301>
_______________________________________


More information about the Python-bugs-list mailing list