http://bugs.winehq.org/show_bug.cgi?id=7286
------- Additional Comments From mk144210@bcm.tmc.edu 2007-31-01 00:32 ------- Created an attachment (id=4731) --> (http://bugs.winehq.org/attachment.cgi?id=4731&action=view) My proposed patch to close this bug
Here is my proposed patch to ensure that when a thread is being woken up that nothing that is called from end_wait tries to wake the thread again before it is finished being woken up. This patch ensures that if an APC immediately follows a timeout wakeup (or rather as a result of the end_wait function in the timeout), that it works as currently this is the reason that this bug occurs. Any comments appreciated.