[Twisted-Python] multi-threading in twisted

Joachim Boomberschloss boomberschloss at yahoo.com
Mon Mar 21 14:02:47 EST 2005


I just want to make sure I understand what the docs
say: can reactor.callFromThread be called from any
thread? and, is it blocking?

In my application I have a thread that comes up with
data to process every once in a while, and I want that
processing to be done in the main loop because it may
involve network communication, so I planned to copy
the data and then call reactor.callFromThread with the
method to do the processing. Does this sound sound?



Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more. 

More information about the Twisted-Python mailing list