[Twisted-Python] blocking and threads

Eugene Coetzee projects at reedflute.com
Tue May 3 14:51:15 MDT 2005


Itamar Shtull-Trauring wrote:

>On Tue, 2005-05-03 at 18:07 +0200, Eugene Coetzee wrote:
>
>  
>
>>I also tried reactor.iterate() 
>>
>>(http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorCore.html#iterate )
>>    
>>
>
>Don't do that, reactor.iterate() is not something Twisted applications
>should use.
>
>  
>
Ok, perhaps that was a bit of wishful thinking :-) 

It would have been kind of neat if one could call something like reactor.yield(thisfunc,delay) from within a time consuming loop instead of the recursive workaround or resorting to a multithreaded approach.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20050503/fcb38af3/attachment.html>


More information about the Twisted-Python mailing list