![]() | |||||||||||||
Messages in this thread |
Hi, 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/ | ||||||||||||
| Last update: 2005-03-22 12:44 [from the cache] ©2003-2008 | |||||||||||||