Simple example of threading
Aahz Maruch
aahz at netcom.com
Thu Feb 24 09:55:51 EST 2000
In article <dn13dqk594j.fsf at kikp0524.chembio.ntnu.no>,
Olaf Trygve Berglihn <olafb at pvv.org> wrote:
>* aahz at netcom.com
>> Take a look at this example I posted a while back:
>> http://www.deja.com/[ST_rn=ps]/getdoc.xp?AN=570016307&fmt=text
>
>Nice example. But I have a slightly different problem. I'd like to
>have threads that can return a value upon completion to the scope in
>which the threads were started. Any suggestions on how to do that in a
>simple way?
In my example, you pick up values from the thread class instance after
it completes.
--
--- Aahz (Copyright 2000 by aahz at netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
Love does not conquer all. Humans are extremely flexible, usually more
flexible than we're willing to admit. But some flexibility comes at a
cost, and sometimes that cost is more than we can bear.
More information about the Python-list
mailing list