All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Langley <alangley@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Edge triggered epoll with pts devices acts as level triggered
Date: Fri, 12 Aug 2005 18:30:55 +0100	[thread overview]
Message-ID: <396556a20508121030de9b49d@mail.gmail.com> (raw)
In-Reply-To: <396556a20508120419238abca6@mail.gmail.com>

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

  reply	other threads:[~2005-08-12 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-12 11:19 Edge triggered epoll with pts devices acts as level triggered Adam Langley
2005-08-12 17:30 ` Adam Langley [this message]
2005-08-13 10:30 ` Heikki Orsila

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=396556a20508121030de9b49d@mail.gmail.com \
    --to=alangley@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.