I’m just realized that it seems to have two mutex ‘world’ in Boost. definition of some mutex under boost::interprocess and mutex under boost::thread.. could both be use interchangeably ? for exemple scoped_lock with boost::wait ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I know you can use interprocess mutex instead of boost::thread mutex , but take into account they’ll be probably slower as they are intended to run in interprocess memory.
You cannot use the synchronization mechanisms from thread and use them in interprocess, these are not at all designed for multi-process synchronization.