开发者

Thread notification when boost::interprocess::mapped_region is changed

How can I be n开发者_如何学运维otified when the bytes in boost::interprocess::mapped_region is changed by using interprocess_condition.

I have opened a file, and have mapped the specific region correctly. When I poll and print the memory, the update has been successful. I now want to be notified of the change rather than continuously polling.

How do I use interprocess_condition to notify my thread the memory has been changed?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜