placid wrote: > I have a thread that has a job Queue, it continuosly polls this queue > to see if there are any jobs for it, what i really wont to be able to > do is, when the queue is empty, i want the thread to pause (or more > technical, i want the thread to block) until the queue gets populated > again. Is this possible ?
Isn't that the default behaviour of Queue.get()? Peter -- http://mail.python.org/mailman/listinfo/python-list