[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: kqueue microbenchmark results
    On Wed, Oct 25, 2000 at 03:11:37PM -0700, David Schwartz wrote:
    > > Now, next time around the loop, we get a notification for an event
    > > when there is no data to read. The application now must be prepared
    > > to handle this case (meaning no blocking read() calls can be used).
    > > --
    > > Jonathan
    > If the programmer never wants to block in a read call, he should never do a
    > blocking read anyway. There's no standard that requires readability at time
    > X to imply readability at time X+1.

    Quite true on the surface. But taking that statement at face value
    implies that it is okay for poll() to return POLLIN on a descriptor
    even if there is no data to be read. I don't think this is the intention.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:41    [W:0.021 / U:31.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site