Messages in this thread | | | Date | Wed, 06 Oct 2004 09:13:11 -0600 | From | Chris Friesen <> | Subject | Re: UDP recvmsg blocks after select(), 2.6 bug? |
| |
David S. Miller wrote: > On Wed, 6 Oct 2004 16:52:27 +0200 (CEST) > Joris van Rantwijk <joris@eljakim.nl> 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.
Hmm, the man page for select() says:
"Those listed in readfds will be watched to see if characters become available for reading (more precisely, to see if a read will not block"
Maybe it needs changing?
Chris - 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/
| |