[Twisted-Python] linux kernel 2.6.11-rc broke twisted process pipes

James Y Knight foom at fuhm.net
Mon Feb 28 22:49:17 EST 2005


On Feb 28, 2005, at 10:40 PM, James Y Knight wrote:

> I'm glad we all agree as to what the new behavior should be, but 
> you're incorrect about the extent of the old brokenness. Simple tests 
> prove that POLLIN was not forced to be true always:

Which makes sense given that the following says "=" not "|=".
-	mask = POLLIN | POLLRDNORM;
-	if (PIPE_EMPTY(*inode))
-		mask = POLLOUT | POLLWRNORM;

James





More information about the Twisted-Python mailing list