[Twisted-Python] Wrapping blocking code

Justin Johnson justinjohnson at fastmail.fm
Wed Jul 23 12:16:51 EDT 2003

I have some code in my xmlrpc service that executes commands using
process.py (http://starship.python.net/crew/tmick/).  The service appears
to block this code, thus only allowing one connection to get any work
done at a time, at least while the commands are being executed.  Should I
be wrapping this up in a Deferred somehow to avoid blocking?

Slowly but surely this is starting to make sense to me.  Twisted rocks!


More information about the Twisted-Python mailing list