
28 Mar
2012
28 Mar
'12
4:55 p.m.
El 28/03/2012 14:06, Rajalakshmi Iyer escribió:
Hello,
I am trying to use the Boost Inter-process message queue and wanted to know the application needs to take care of synchronization.
The documentation lists 'Message queues' under the 'Synchronization' section and mentions:
'A message queue is similar to a list of messages. Threads can put messages in the queue and they can also remove messages from the queue'
So is the message queue thread-safe?
My use case is several multi-threaded processes on a single host writing to the message queue and another multi-threaded process on the same host reading from the message queue.
yes, it's thread-safe Ion