Searched refs:lk2 (Results 1 – 8 of 8) sorted by relevance
38 std::shared_lock<mutex> lk2; in main() local39 swap(lk1, lk2); in main()42 assert(lk2.mutex() == &m); in main()43 assert(lk2.owns_lock() == true); in main()44 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept"); in main()
37 std::shared_lock<mutex> lk2; in main() local38 lk1.swap(lk2); in main()41 assert(lk2.mutex() == &m); in main()42 assert(lk2.owns_lock() == true); in main()43 static_assert(noexcept(lk1.swap(lk2)), "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()
107 Lock* lk2 = (Lock*)lk2W; in lock_unique_cmp() local109 tl_assert( HG_(is_sane_LockNorP)(lk2) ); in lock_unique_cmp()110 if (lk1->unique < lk2->unique) return -1; in lock_unique_cmp()111 if (lk1->unique > lk2->unique) return 1; in lock_unique_cmp()
10413 lk2ü
10244 lk2ü
10301 lk2ü