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

From: Adam Langley (alangley_at_gmail.com)
Date: 08/12/05

  • Next message: Jeff Dike: "Re: [patch 1/3] uml: share page bits handling between 2 and 3 level pagetables"
    Date:	Fri, 12 Aug 2005 18:30:55 +0100
    To: linux-kernel@vger.kernel.org
    
    

    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/
    

  • Next message: Jeff Dike: "Re: [patch 1/3] uml: share page bits handling between 2 and 3 level pagetables"