lkml.org 
[lkml]   [2005]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Edge triggered epoll with pts devices acts as level triggered
On 8/12/05, Adam Langley <alangley@gmail.com> 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@imperialviolet.org
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-12 19:33    [W:0.038 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site