Home
last modified time | relevance | path

Searched refs:TestMutex (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
Dvariadic_adopt_lock.pass.cpp24 struct TestMutex { struct
26 TestMutex() = default; argument
32 TestMutex(TestMutex const&) = delete; argument
33 TestMutex& operator=(TestMutex const&) = delete;
43 TestMutex m1, m2; in main()
44 using LG = std::lock_guard<TestMutex, TestMutex>; in main()
53 TestMutex m1, m2, m3; in main()
54 using LG = std::lock_guard<TestMutex, TestMutex, TestMutex>; in main()
Dvariadic_mutex.pass.cpp26 struct TestMutex { struct
28 TestMutex() = default; argument
29 ~TestMutex() { assert(!locked); } in ~TestMutex() argument
35 TestMutex(TestMutex const&) = delete; argument
36 TestMutex& operator=(TestMutex const&) = delete;
75 using LG = std::lock_guard<TestMutex, TestMutex>; in main()
76 TestMutex m1, m2; in main()
84 using LG = std::lock_guard<TestMutex, TestMutex, TestMutex>; in main()
85 TestMutex m1, m2, m3; in main()
/external/icu/icu4c/source/test/intltest/
Dtsmthred.h42 void TestMutex(void);
Dtsmthred.cpp75 TestMutex(); in runIndexedTest()
350 void MultithreadTest::TestMutex() in TestMutex() function in MultithreadTest