In article <mailman.3221.1247757153.8015.python-l...@python.org>, Gabriel Rossetti <gabriel.rosse...@arimaz.com> wrote: > >I am using threading.Condition.wait(timeout) and was surprised to see >that there is no return value nor an exception when wait() is used w/ a >timeout. How am I supposed to know if it was notified or if it timed out?
What are you trying to do? Maybe your purpose would be better suited to using a Queue? (Yes, Queue is a hammer in search of a nail, but most threading problems are easier if you treat them as nails.) -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list