标签:ice ati 进程启动 解决方案 font boot sync log proc
最近遇到一个问题,程序在a用户下运行后,然后注销windows,登陆b用户,发现程序奔溃,抓了下堆栈,发现了boost的named_mutex一些细节,记录下
#include <boost/interprocess/sync/named_mutex.hpp> #include <boost/interprocess/creation_tags.hpp>
boost::interprocess::named_mutex mutex(boost::interprocess::open_or_create, "haha");
boost::interprocess::permissions per; per.set_unrestricted(); boost::interprocess::named_mutex mutex(boost::interprocess::open_or_create, "haha",per);
标签:ice ati 进程启动 解决方案 font boot sync log proc
原文地址:http://www.cnblogs.com/ultracpp/p/6832201.html