Has anyone written a Queue.Queue replacement that avoids busy-waiting? It doesn't matter if it uses os-specific APIs (eg WaitForMultipleObjects). I did some googling around and haven't found anything so far.
Because I know someone will ask: no, the busy-waiting hasn't been a problem in my app. I'm just interested in reading the code. p -- http://mail.python.org/mailman/listinfo/python-list