|
Boost Users : |
Subject: Re: [Boost-users] boost::interprocess::message_queue
From: Romain C. (romainchanu_at_[hidden])
Date: 2008-12-02 07:50:19
Hey Ion,
Thanks for your answer.
I decided to use my own queue following this example:
http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html
http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html
Hope it can help other people.
Romain
Ion Gaztañaga wrote:
>
> Romain C. wrote:
>> Hello everyone,
>>
>> I am currently developing a multi-threading application and i would like
>> to
>> use a message queue to receive / send information between the different
>> threads. However, I have tried to check if the boost message queue was
>> thread-safe or not but i could not find the information.
>>
>> Can anyone tell me if the boost message queue is thread-safe?
>
> It is, but more oriented to interprocess-process communications than for
> intra-process thread communication. You might find it a bit heavyheight
> for this purpose.
>
>> Thank you.
>
> Regards,
>
> Ion
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
-- View this message in context: http://www.nabble.com/boost%3A%3Ainterprocess%3A%3Amessage_queue-tp20597994p20791462.html Sent from the Boost - Users mailing list archive at Nabble.com.
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