python threading

Steve Holden sholden at holdenweb.com
Tue Apr 16 07:46:33 EDT 2002


"sameer" <sameer_ at email.com> wrote ...
> I am trying to run multiple threads in a wxFrame class to instantiate
> different panels within it on Win 2k,  and well, it's a little hairy.
> Anyone got a good web source that discusses python threading in depth?
>
> More so, my question is, how can I get the return value of a function
> that I run on a seperate thread?  I don't see anything for this in the
> threading module.

The canoncial reference was written by Aahz, whe keeps threatening to update
it. See

    http://starship.python.net/crew/aahz/OSCON2001/index.html

The Queue module might help you with passing values between threads, as it's
specifically designed to be thread-safe.

regards
 Steve







More information about the Python-list mailing list