when a data is put in a empty queue i want my thread to starts its activity

Posted by sia on Stack Overflow See other posts from Stack Overflow or by sia
Published on 2010-05-16T22:32:18Z Indexed on 2010/05/16 22:40 UTC
Read the original article Hit count: 194

Filed under:

i want my thread to sleep when a queue is empty and just wake up when a data is put in it, should i use condition object? i have never used this object before! and i can,t find a simple example in python

© Stack Overflow or respective owner

Related posts about python