Re: Bug in poll/select readable state on write end of pipe

2017-11-14 Thread Corinna Vinschen
On Nov 7 17:39, Erik Bray wrote: > Hi, > > I encountered this bug through a hang in Twisted, but narrowed it down > to a simple example (in Python here, but the same would work in C). > > Basically, in Twisted's system process runner, there's a "hack" [1] > which basically assumes readability (a

Bug in poll/select readable state on write end of pipe

2017-11-07 Thread Erik Bray
Hi, I encountered this bug through a hang in Twisted, but narrowed it down to a simple example (in Python here, but the same would work in C). Basically, in Twisted's system process runner, there's a "hack" [1] which basically assumes readability (as in a poll() loop) of the writable end of a pip