is there enough information?

Paul McGuire ptmcg at austin.rr.com
Wed Feb 27 08:34:03 CET 2008


On Feb 26, 8:50 pm, castiro... at gmail.com wrote:
>
> Doesn't Queue.Queue operate by side effect?

Are you sure you aren't a Turing testbot?  What does that question
even *mean*?
Wait! Don't bother answering, I'm already bored with this thread.

I agree with Gabriel.  Instead of randomly sprinkling locks about
through different threads' code, use a synchronized queue like the one
in Queue.Queue.
See example code at http://docs.python.org/lib/QueueObjects.html.

-- Paul



More information about the Python-list mailing list