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.scoped/
Dadopt_lock.pass.cpp23 struct TestMutex { struct
25 TestMutex() = default; argument
31 TestMutex(TestMutex const&) = delete; argument
32 TestMutex& operator=(TestMutex const&) = delete;
42 TestMutex m1; in main()
43 using LG = std::scoped_lock<TestMutex>; in main()
52 TestMutex m1, m2; in main()
53 using LG = std::scoped_lock<TestMutex, TestMutex>; in main()
62 TestMutex m1, m2, m3; in main()
63 using LG = std::scoped_lock<TestMutex, TestMutex, TestMutex>; in main()
Dmutex.pass.cpp23 struct TestMutex { struct
25 TestMutex() = default; argument
26 ~TestMutex() { assert(!locked); } in ~TestMutex() argument
32 TestMutex(TestMutex const&) = delete; argument
33 TestMutex& operator=(TestMutex const&) = delete;
72 using LG = std::scoped_lock<TestMutex>; in main()
73 TestMutex m1; in main()
81 using LG = std::scoped_lock<TestMutex, TestMutex>; in main()
82 TestMutex m1, m2; in main()
90 using LG = std::scoped_lock<TestMutex, TestMutex, TestMutex>; in main()
[all …]
/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