[lkml]   [2002]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [rfc] epoll interface change and glibc bits ...
    Davide Libenzi wrote:
    >>I'd be happy to contribute better doc... has the man page
    >>for sys_epoll been written yet?
    > it is going to change though with the latest talks about the interface.

    Hmm. Right off the bat, I see a terminology problem.
    The man page says

    .SH NAME
    epoll \- edge triggered asynchronous I/O facility

    That's going to confuse some users. They might think
    epoll can actually initiate I/O. Better to say

    epoll \- edge triggered I/O readiness notification facility

    Second, epoll_ctl(2) doesn't define the meaning of the
    event mask. It should give the allowed bits and define
    their meanings. If we use the traditional POLLIN etc, we
    can say
    POLLIN - the fd has become ready for reading
    POLLOUT - the fd has become ready for writing
    Note: If epoll tells you e.g. POLLIN, it means that
    poll will tell you the same thing,
    since poll gives the current status,
    and epoll gives changes in status.

    - Dan

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:31    [W:0.019 / U:41.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site