Lines Matching refs:mutex
10 // <mutex>12 // template <class Mutex> class unique_lock;14 // mutex_type *mutex() const;16 #include <mutex>19 std::mutex m;23 std::unique_lock<std::mutex> lk0;24 assert(lk0.mutex() == nullptr);25 std::unique_lock<std::mutex> lk1(m);26 assert(lk1.mutex() == &m);28 assert(lk1.mutex() == &m);