Boost logo

Boost Users :

Subject: [Boost-users] interprocess::message_queue thread safety
From: Moritz (mokoman_at_[hidden])
Date: 2009-06-30 14:33:35


Hi everybody,

I have a question concerning the interprocess::message_queue.
Is the send(..) function thread safe?

I have one message_queue and only one thread which is reading messages
from the queue. But I have 'n' threads that are writing to the queue. Is
there any synchronization mechanism needed to avoid unexpected behavior?

Thank You
Moritz


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net