"Scott Lindeneau" <[EMAIL PROTECTED]> writes: > Fixes a bug in the async implementation. When checking for waiting > elements on a queue you need to check to see if ANY element is waiting, > not just the first element. When waking elements up you should ALERT an > element that is not already alerted. All other status messages should be > set. (This compensates for poll events that trigger other poll events > before garbage collection occurs and removes alerted elements from the > queues).
This is wrong, it will lead to busy waiting. We very much want the first async to have been handled before we wake up for the next one. -- Alexandre Julliard [EMAIL PROTECTED]
