boost::interprocess and synchronization

Hi, I've been working a lot with interprocess communication, but using plain windows API. Now I'm thinking about changing the implementation to boost::interprocess, but a simple question arises: Does boost::interprocess provide any kind of synchronization? On past projects I used to create a global mutex and an avent (or semaphore) object, the global mutex makes sure that only one process is writing at the same time, and the event indicates that there is new data to read.. Does boost:.interprocess provide those objects under the hood or I have to use my own named mutex and conditions? Thanks a lot :) Saludos! Juan

never mind...
just read http://www.boost.org/doc/libs/1_48_0/doc/html/interprocess/synchronization_m...
awesome documentation, btw :)
Saludos!
Juan
2012/1/13 Juan Ramírez
Hi,
I've been working a lot with interprocess communication, but using plain windows API.
Now I'm thinking about changing the implementation to boost::interprocess, but a simple question arises:
Does boost::interprocess provide any kind of synchronization?
On past projects I used to create a global mutex and an avent (or semaphore) object, the global mutex makes sure that only one process is writing at the same time, and the event indicates that there is new data to read..
Does boost:.interprocess provide those objects under the hood or I have to use my own named mutex and conditions?
Thanks a lot :)
Saludos! Juan
participants (1)
-
Juan Ramírez