Hmm. My own test program has a clear demonstration that this
isn't quite right; a 'sleep2 -1 10we' shows that having an
event trigger a wait gets the waiting thread some priority back.
This suggests that adding
if (ret == WAIT_TIMEOUT)
prior to the NtYieldExecution() gives the best
Hi folks,
Due to my new found belief that all of the flaws in Wine
are timing problems, I have found what appears to be a
gaping hole in Wine's timing behavior.
Specifically, it appears as though any style of
Waitxxx is supposed to yield the processor.
This seems a bit difficult for me to believe,