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

From: Hua Zhong
Date: Sun Oct 17 2004 - 14:28:38 EST


> 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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/