Threads and Event objects
Aahz Maruch
aahz at panix.com
Fri Jun 15 01:39:07 EDT 2001
In article <20010615.145947.1694224903.5941 at topic.com.au>,
Matthew Hawkins <matthew at topic.com.au> wrote:
>
>I have a class that fires off some threads to do some i/o, and I'm trying
>to have it collate the results. I send in a Conditional variable to
>control access to the data buffer, and an Event variable so the thread
>can signal when there's some data to come pick up.
Use a queue instead. See http://starship.python.net/crew/aahz/
for some examples.
--
--- Aahz <*> (Copyright 2001 by aahz at pobox.com)
Hugs and backrubs -- I break Rule 6 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista
I wasn't licking it, I was chewing it.
More information about the Python-list
mailing list