其他分享
首页 > 其他分享> > boost官方文档同步机制Synchronization mechanisms overview

boost官方文档同步机制Synchronization mechanisms overview

作者:互联网

参考链接

Synchronization mechanisms overview

Named And Anonymous Synchronization Mechanisms

using namespace boost::interprocess;

//Create the synchronization utility. If it previously
//exists, throws an error
NamedUtility(create_only, ...)

//Open the synchronization utility. If it does not previously
//exist, it's created.
NamedUtility(open_or_create, ...)

//Open the synchronization utility. If it does not previously
//exist, throws an error.
NamedUtility(open_only, ...)
using namespace boost::interprocess;

//Create the synchronization utility.
AnonymousUtility(...)

同步机制的类型

标签:同步,映射,overview,mechanisms,Synchronization,线程,内存,进程,实用程序
来源: https://blog.csdn.net/CHYabc123456hh/article/details/111408224