William A. Rowe, Jr. wrote:
It seems that WAIT_ABANDONED should simply result in a continue here reiterating over wait_for_many_objects. Thoughts?
I'll try and see if that fixes the ABANDONED. According to the MSDN it should. Anyhow even for the normal WAIT_OBJECT_NN the wait_for_many_objects returned wrong index, because the dwIndex was not taken into account, so for thread #64 signaled, the #0 was returned, and so forth. -- Mladen.