C++并发实战7:thread::mutex(二)

2014-11-24 03:15:40 · 作者: · 浏览: 1
ol empty() const { std::lock_guard lock(m); return data.empty(); } };