simple threading

Cliff Wells logiplexsoftware at earthlink.net
Tue Oct 9 13:55:04 EDT 2001


On Tuesday 09 October 2001 09:43, Mark Robinson wrote:
> I am trying run a particularly processor hungry function in a
> seperate thread but I can't quite figure out how to return
> the arguments from the object now.

Probably what you want to do is have the thread set the value of a variable 
and then signal the main program that it has finished via an Event() (try the 
threading module rather than the thread module).

-- 
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308




More information about the Python-list mailing list