[lkml]   [2001]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] /dev/epoll update ...
    > Stevens [UNPV1, in chapter on nonblocking accept] suggests that readiness
    > notifications from the OS should only be considered hints, and that user
    > programs should behave properly even if the OS feeds it false readiness
    > events.

    For accept this is specifically and definitely true. A pending connection
    can go away before you accept it. What happens then is rather OS specific -
    BSD unix gives you a socket that has died - which can be handy and avoids
    the problem but others don't all do the same
    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:03    [W:0.020 / U:53.828 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site