Edward Elliott nobody at
Fri May 12 08:33:18 CEST 2006

Dennis Lee Bieber wrote:

> On 11 May 2006 17:02:51 -0700, "placid" <Bulkan at> declaimed the
> following in comp.lang.python:
>> 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 ?
> Did you read the documentation for Queue methods?
> x = q.get(true) #blocks until data is available

Like a good lawyer, Dennis knows the answer before he asks the question.

Edward Elliott
UC Berkeley School of Law (Boalt Hall)
complangpython at eddeye dot net

More information about the Python-list mailing list