[Twisted-Python] callFromThread with return

Matthias Urlichs smurf at smurf.noris.de
Mon Oct 6 16:11:42 EDT 2003

Hi, Andrew Bennetts wrote:

>          But how does the                          .
>      Main Thread pass a result                     .
>        to Worker Thread and                        .
>        resume its execution?                       ?

Just put it in a Queue and wait on it in the thread. Standard Python.

Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf at smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
The Second Commandment of Frisbee: The higher the quality of a catch or the
comment it receives, the greater the probability of a crummy throw. (Good
catch = bad throw.)
					-- Dan Roddick

More information about the Twisted-Python mailing list