Queue.Queue-like class without the busy-wait

From: Paul L. Du Bois (polytope_at_gmail.com)
Date: 03/25/05

Date: 24 Mar 2005 15:40:20 -0800

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.