Hi all

   I have a function like:

def longQuery(xxx)

this function will be invoked simultaneously (it means multiple thread
environment) and this function may take a while to complete.

so my question is whether i should use reactor.callInThread to take benefit
from non blocking

or use deferred object ?

It seems that deferred object doens't use threads.

Regards

GELIN YAN
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to