Network socket concurrency (userland)

Ivan Voras ivoras at freebsd.org
Tue Nov 16 14:38:11 UTC 2010


Are there any standard-defined guarantees for TCP network sockets used 
by multiple threads to do IO on them?

Specifically, will multiple write() or send() calls on the same socket 
execute serially (i.e. not interfere with each other) and blocking 
(until completion) even for large buffer sizes? What about read() / recv()?



More information about the freebsd-hackers mailing list