|
|
|
|
|
|
| Author |
Message |
jainarunk@gmail.com *nix forums beginner
Joined: 10 May 2006
Posts: 18
|
Posted: Mon Jun 12, 2006 5:27 pm Post subject:
Are sockets thread safe
|
|
|
Hello Group,
I am working on Linux environments. The kernal version is 2.4.21 and
my question is;
Are sockets on Linux thread safe. For example if the socke it open and
one thread was
reading from the socket and had to relinquish CPU to make way for
another thread, And
then the other thread is trying to 'Write' to the same socket.
What will be the behavior.
If these libraries are not thread safe then what are my alternatives
1. onLinux
2. on Unix
Thanks for your help.
nagrik
ps: I have read the man pages for sockets and they don't say anything
about thread safety. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Nov 21, 2008 3:51 am | All times are GMT
|
|
Business Credit Card | Mobile Phones | Photo Gallery | Debt Consolidation | Knitting Stitches
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|