[Twisted-Python] Capture blocking calls?
tv at twistedmatrix.com
Thu Jun 16 04:18:57 EDT 2005
Luc Stepniewski wrote:
> I've go tthe same difficulties here. I'm trying to integrate into Twisted a
> method (which comes from a python+C compiled module) that returns data. The
> problem is that this method is blocking, so I can't integrate it easily in
Sounds like you want to run twisted as normal and just call
d = reactor.callInThread(bigUglyBlockingThing)
when you want more stuff from it.
More information about the Twisted-Python