Threads blocking on OpenBSD w/ Python 2.4.2

insyte at gmail.com insyte at gmail.com
Tue Sep 19 11:38:09 EDT 2006


insyte at gmail.com wrote:
> I'm attempting to write a faily simple threaded app that fires off a
> thread to select() on a FIFO while the main loop handles data read from
> that pipe and a few other tasks.  For some reason, calls to
> time.sleep() seem to block until the first time data is dumped into the
> pipe.  Clearly, I could work around this quite easily by "priming the
> pipe" as it were with a bit of garbage data.  However, I'd rather
> understand the problem.

I've verified the same behavior with Python 2.5.

-Ben




More information about the Python-list mailing list