[Twisted-Python] Reactor given a dead FD

James Bunton james at delx.cjb.net
Mon Jun 13 04:12:37 EDT 2005

On 13/06/2005, at 1:22 PM, Bob Ippolito wrote:

> On Jun 12, 2005, at 10:10 PM, James Bunton wrote:
>> I asked this in the epoll thread a little while ago, but didn't get a 
>> response.
>> Does anybody know what is the correct behaviour for a Twisted reactor 
>> when addReader/Writer is called with a dead file descriptor?
>> Should I just silently ignore it and remove the FD from the 
>> selectables list?
> I don't know if anyone knows for sure without trying it.. so you might 
> as well try it yourself.  The correct behavior is probably whatever 
> the select reactor does on Anything But Windows ;)
> -bob

Looks like removing from the selectables list and logging it is the go 
Thanks :)



More information about the Twisted-Python mailing list