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

Hua Zhong
2004-10-17T19:26:46Z

> I'm sorry, that's an absolutely preposterous view. For
> one thing, Linux violates this by allowing processes and
> threads to share file descriptors (since another process
> can steal the data before the call to 'recvmsg'). Oh
> well, I guess we'll have to take that out if we want to
> comply with POSIX on 'select' semantics.

Another typical fake argument. Do not mix kernel and user space problems.

The standard says the [following] recvmsg would not block, not the following
recvmsg *from the same* thread would not block.

Hua