Re: Edge triggered epoll with pts devices acts as level triggered

From: Adam Langley
Date: Fri Aug 12 2005 - 12:31:28 EST


On 8/12/05, Adam Langley <alangley@xxxxxxxxx> wrote:
> Waiting for edge triggered events (with EPOLLET) on pseudo terminal
> devices appears to act as if it were level triggered; when data is
> ready the fd is always returned by epoll_wait.

This occurs because writing to the terminal happens to cause a read
event to occur for pseudo terminals, but not for real terminals. This
is much less of a problem than the orginal message would suggest.


AGL

--
Adam Langley agl@xxxxxxxxxxxxxxxxxx
http://www.imperialviolet.org (+44) (0)7906 332512
PGP: 9113 256A CC0F 71A6 4C84 5087 CDA5 52DF 2CB6 3D60
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/