#include <boost/thread/mutex.hpp> boost::mutex mutex; mutex.lock();//锁 mutex.unlock();//解锁
本文标题:c++ 线程锁
本文链接:https://www.haomeiwen.com/subject/qfzynctx.html
网友评论