Is Linux System V IPC Message Queue thread safe? I have one process, writing to a message queue. Can I have more than one process reading from the message queue.
Printable View
Is Linux System V IPC Message Queue thread safe? I have one process, writing to a message queue. Can I have more than one process reading from the message queue.
Yes, under Posix they are thread safe.
gg
The Posix standard contains some SysV IPC mechanisms as well as multi-threading. So saying anything about the two together only makes sense under Posix.
http://www.opengroup.org/onlinepubs/...chap02_07.html
gg