[Twisted-Python] Re: [Twisted-commits] r13446 - After a lengthy discussion, revert to previous threaded behavior wrt registering as the IO thread

James Y Knight foom at fuhm.net
Sun Apr 3 17:40:32 MDT 2005


On Apr 3, 2005, at 2:50 PM, Jp Calderone wrote:
>> isInIOThread
>   Yes.  Fortunately this never actually happens.  When it becomes 
> possible, we can think about fixing this behavior.

Funny, because that test program shows that it does happen. And, for me 
at least, it pretty much always happens. The reactor starts up in 
non-threaded mode and then becomes threaded later.

>> iterate
>   Yes, however simply calling registerAsIOThread inside it is not a 
> complete fix.  The understanding to which I came is that the previous 
> incorrectness was preferable to the new incorrectness.

Elaboration necessary.

James





More information about the Twisted-Python mailing list