[lkml]   [2004]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: UDP recvmsg blocks after select(), 2.6 bug?
    On Wed, 6 Oct 2004, David S. Miller wrote:

    > On Wed, 6 Oct 2004 16:52:27 +0200 (CEST)
    > Joris van Rantwijk <> wrote:
    >> My understanding of POSIX is limited, but it seems to me that a read call
    >> must never block after select just said that it's ok to read from the
    >> descriptor. So any such behaviour would be a kernel bug.
    > There is no such guarentee.

    Huh? Then why would anybody use select()? It can't return a
    'guess" or it's broken. When select() or poll() claims that
    there are data available, there damn well better be data available
    or software becomes a crap-game. And, if you've decided that
    such a game-of-chance is okay then please keep your software
    out of the new Ethernet Avionics Buses that Airbus now is using.

    Dick Johnson
    Penguin : Linux version 2.6.5-1.358-noreg on an i686 machine (5537.79 BogoMips).
    Note 96.31% of all statistics are fiction.

    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 14:06    [W:0.018 / U:63.932 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site