UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2009-03-31 02:54 AM

htonivi
Guest

Re: Unix system V - Message queue

Is Unix IPC message queue multi-thread safe. I am planning to use IPC message for inter-process communication. Can one process, writing to the queue and can multiple process read from the queue. (or) Do i need to make the ipc-message queue thread-safe using semaphore ?

#2 2009-04-10 01:06 AM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,230

Re: Unix system V - Message queue

Yes, it's safe.

Offline

Board footer

Powered by FluxBB