I realized that concurrent attempts to read() from a socket
are serialized by means of the socket's inode semaphore. But concurrent
calls of recv(), recvfrom(), or recvmsg() are not serialized. The same
holds for write() vs. send(), sendto(), or sendmsg().
Is this intentional or is it a bug (which might in theory cause some trouble,
i.e. when concurrent threads try to send() large chunks to the same socket)?
Henner
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/