thread/queue bug

Peter Hansen peter at engcorp.com
Sat Dec 11 09:23:19 EST 2004


phil wrote:
> Well its an anomaly.  I sent to bug list.
> Probably never see it again.
> I think some sort of semaphore thingy, which I know
> nothing about, is sneaking in under unreproducible
> conditions.  I'm moving on.

If you want to try one more thing, try mucking with
a call to sys.setcheckinterval().  This used to be
10 by default but is now 100.  In any case, changing
it will quite often significantly change the code's
behaviour in the presence of race conditions.  Try
values of 1 and 1000 and see if anything makes a
difference.

-Peter



More information about the Python-list mailing list