4 ms·
Looks like it's similar to using deferToThread in Twisted (where you get a builtin threadpool implementation): http://twistedmatrix.com/documents/current/core/h
by wulczer 14y ago
Looks like it's similar to using deferToThread in Twisted (where you get a builtin threadpool implementation): http://twistedmatrix.com/documents/current/core/howto/threading.html http://twistedmatrix.com/documents/current/core/howto/thread...
- rabidsnail 14y agoIt is similar to defer.deferToThread. The main difference is that this is only about 100 lines of code that depends only on the ioloop, as opposed to twisted.internet.defer, which also has stuff like defer.inlineCallbacks in there.