开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜