Killing threads

Aahz Maruch aahz at panix.com
Fri Mar 16 18:15:09 EST 2001


In article <mailman.984769881.20374.python-list at python.org>,
Dave Brueck <dbrueck at edgix.com> wrote:
>
>Or just a simple flag. Here's a class I use in designs that use work flows
>(work objects pulled off one queue, processed, and moved onto the next
>queue). If you just need an always-processing background thread you can
>eliminate all the stuff with the semaphore.

I'm confused.  Is there some reason you're not using Queue.Queue()?
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Three sins: BJ, B&J, B&J



More information about the Python-list mailing list