Mutex

Mutex

std::mutex m_;

Lock

// std::mutex m_;         // define
std::unique_lock<std::mutex> lock(m_);

最后更新于

这有帮助吗?