Searched refs:lk2 (Results 1 – 8 of 8) sorted by relevance
33 std::shared_lock<mutex> lk2; in main() local34 lk1.swap(lk2); in main()37 assert(lk2.mutex() == &m); in main()38 assert(lk2.owns_lock() == true); in main()39 static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept"); in main()
34 std::shared_lock<mutex> lk2; in main() local35 swap(lk1, lk2); in main()38 assert(lk2.mutex() == &m); in main()39 assert(lk2.owns_lock() == true); in main()40 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept"); in main()
32 std::unique_lock<mutex> lk2; in main() local33 lk1.swap(lk2); in main()36 assert(lk2.mutex() == &m); in main()37 assert(lk2.owns_lock() == true); in main()
33 std::unique_lock<mutex> lk2; in main() local34 swap(lk1, lk2); in main()37 assert(lk2.mutex() == &m); in main()38 assert(lk2.owns_lock() == true); in main()
9329 "lk2",20840 "lk2",24337 lk2{
11745 lk2ü
11647 lk2ü
11612 lk2ü