开发者

boost interprocess shared mutex and boost interprocess condition variable for shared mutex

开发者 https://www.devze.com 2023-04-04 16:17 出处:网络
Boost version - 1.47 I can not find boost::interprocess::interprocess_sharable_mutex, but it looks like it is forward declared. Is this really supported ?

Boost version - 1.47 I can not find boost::interprocess::interprocess_sharable_mutex, but it looks like it is forward declared. Is this really supported ?

I can see that b开发者_开发技巧oost::interprocess::interprocess_upgradable_mutex is forward declared and it is also defined as well. However, I am not able to find a corresponding condition variable with which I can use this mutex. Any ideas ?


I know this is an old question, but I was just looking for this myself and came upon this question and this discussion on the Boost Users mailing list that effectively says, "No, you can't." boost::interprocess::interprocess_condition can only be used with the standard mutex. :(

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号