Re: UDP recvmsg blocks after select(), 2.6 bug?

Olivier Galibert
2004-10-07T00:19:39Z

On Wed, Oct 06, 2004 at 04:35:21PM -0700, David S. Miller wrote:
> On Wed, 6 Oct 2004 22:06:08 +0200
> Olivier Galibert <galibert@pobox.com> wrote:
>
> > On Wed, Oct 06, 2004 at 12:43:27PM -0700, Hua Zhong wrote:
> > > How hard is it to treat the next read to the fd as NON_BLOCKING, even if
> > > it's not set?
> >
> > Programs don't expect EAGAIN from blocking sockets.
>
> That's right, which is why we block instead.

Programs don't expect a read to block after a positive select either,
so it doesn't really help.

OG.