On Tue Sep 6 05:38:43 2022 +0000, Rémi Bernon wrote:
That would be instead:
EnterCriticalSection(&impl->cs); if (impl->session_running) impl->session_paused = TRUE; LeaveCriticalSection(&impl->cs); WakeConditionVariable(aimpl->cv);
Why do we Wake the cv here?