Dennis Lee Bieber wrote: > On 11 May 2006 17:02:51 -0700, "placid" <[EMAIL PROTECTED]> 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 -- http://mail.python.org/mailman/listinfo/python-list