If you're using windbg you can call WakeAllConditionVariable in the debugee using windbg's .call
command.
How can I make the debugger force a Windows thread to wake up from sleep?
-
06-03-2022 - |
Domanda
I'm debugging a deadlock. I would like to wake up a thread that's waiting on a condition variable, so that I can trace as it re checks the sleep conditions. Sleeping on a condition variable is subject to spurious wake ups, so how can I force such a wake up?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow