Closed sderr closed 12 years ago
Calls to write()/send() are not guaranteed to be atomic.
Hence to prevent replies to different requests from being mixed up we need to protect these calls with a lock.
Calls to write()/send() are not guaranteed to be atomic.
Hence to prevent replies to different requests from being mixed up we need to protect these calls with a lock.