>>>>> Gabriel Rossetti <gabriel.rosse...@arimaz.com> (GR) wrote:
>GR> I have a 1-1 relation, I have a thread reading msgs from a network socket >GR> and a method waiting for an answer to arrive (see my thread >GR> "Threading.Condition problem"). I would like to be able to have a timeout >GR> as to not block forever, so the idea is to check if I returned because of a >GR> timeout or not. So that case is easy I think. After the wait just check if the answer has arrived. -- Piet van Oostrum <p...@cs.uu.nl> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: p...@vanoostrum.org -- http://mail.python.org/mailman/listinfo/python-list