Doubt about sockets

Vinu Rajashekhar vinutheraj at gmail.com
Tue Jun 22 16:03:11 UTC 2010


>From the networking documentation, it seems that one cannot
share the same socket across threads/tasks for the same operation, like
read or write.

What is the exact problem if I use the same socket to write something
across different threads, is data corruption the only problem? More
specifically,
if I have run a select call on a socket, and if I write something into the
socket,
from different threads, does the select wakeup for sure ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20100622/467af649/attachment.html>


More information about the users mailing list