Passing data between threads

Uwe Hoffmann qual at tiscali.de
Sun May 2 08:43:08 EDT 2004


Erik de Castro Lopo wrote:

> However, I'd like to pass some data back to the parent thread before alling
> thread.exit () but I can't figure out how.

take a look at the Queue class (e.g. calling thread provides queue as
parameter):
http://docs.python.org/lib/module-Queue.html

greetings
	uwe



More information about the Python-list mailing list