[Twisted-Python] Reactor given a dead FD

Bob Ippolito bob at redivi.com
Sun Jun 12 23:22:54 EDT 2005

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 ;)


More information about the Twisted-Python mailing list