/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
H A D | try_lock.pass.cpp | 26 struct mutex struct 36 mutex m; 40 std::shared_lock<mutex> lk(m, std::defer_lock);
|
H A D | try_lock_until.pass.cpp | 27 struct mutex struct 40 mutex m; 45 std::shared_lock<mutex> lk(m, std::defer_lock);
|
H A D | unlock.pass.cpp | 26 struct mutex struct 32 mutex m; 36 std::shared_lock<mutex> lk(m);
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
H A D | member_swap.pass.cpp | 22 struct mutex struct 28 mutex m; 32 std::shared_lock<mutex> lk1(m); 33 std::shared_lock<mutex> lk2; 35 assert(lk1.mutex() == nullptr); 37 assert(lk2.mutex() == &m);
|
H A D | nonmember_swap.pass.cpp | 23 struct mutex struct 29 mutex m; 33 std::shared_lock<mutex> lk1(m); 34 std::shared_lock<mutex> lk2; 36 assert(lk1.mutex() == nullptr); 38 assert(lk2.mutex() == &m);
|
H A D | release.pass.cpp | 22 struct mutex struct 30 int mutex::lock_count = 0; 31 int mutex::unlock_count = 0; 33 mutex m; 37 std::shared_lock<mutex> lk(m); 38 assert(lk.mutex() == &m); 40 assert(mutex::lock_count == 1); 41 assert(mutex::unlock_count == 0); 43 assert(lk.mutex() == nullptr); 45 assert(mutex [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
H A D | try_lock.pass.cpp | 12 // <mutex> 18 #include <mutex> 25 struct mutex struct 35 mutex m; 39 std::unique_lock<mutex> lk(m, std::defer_lock);
|
H A D | try_lock_until.pass.cpp | 12 // <mutex> 19 #include <mutex> 26 struct mutex struct 39 mutex m; 44 std::unique_lock<mutex> lk(m, std::defer_lock);
|
H A D | unlock.pass.cpp | 12 // <mutex> 18 #include <mutex> 25 struct mutex struct 31 mutex m; 35 std::unique_lock<mutex> lk(m);
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
H A D | member_swap.pass.cpp | 12 // <mutex> 18 #include <mutex> 21 struct mutex struct 27 mutex m; 31 std::unique_lock<mutex> lk1(m); 32 std::unique_lock<mutex> lk2; 34 assert(lk1.mutex() == nullptr); 36 assert(lk2.mutex() == &m);
|
H A D | nonmember_swap.pass.cpp | 12 // <mutex> 19 #include <mutex> 22 struct mutex struct 28 mutex m; 32 std::unique_lock<mutex> lk1(m); 33 std::unique_lock<mutex> lk2; 35 assert(lk1.mutex() == nullptr); 37 assert(lk2.mutex() == &m);
|
H A D | release.pass.cpp | 12 // <mutex> 18 #include <mutex> 21 struct mutex struct 29 int mutex::lock_count = 0; 30 int mutex::unlock_count = 0; 32 mutex m; 36 std::unique_lock<mutex> lk(m); 37 assert(lk.mutex() == &m); 39 assert(mutex::lock_count == 1); 40 assert(mutex [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
H A D | try_lock.pass.cpp | 26 struct mutex struct 36 mutex m; 40 std::shared_lock<mutex> lk(m, std::defer_lock);
|
H A D | try_lock_until.pass.cpp | 27 struct mutex struct 40 mutex m; 45 std::shared_lock<mutex> lk(m, std::defer_lock);
|
H A D | unlock.pass.cpp | 26 struct mutex struct 32 mutex m; 36 std::shared_lock<mutex> lk(m);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
H A D | member_swap.pass.cpp | 22 struct mutex struct 28 mutex m; 32 std::shared_lock<mutex> lk1(m); 33 std::shared_lock<mutex> lk2; 35 assert(lk1.mutex() == nullptr); 37 assert(lk2.mutex() == &m);
|
H A D | nonmember_swap.pass.cpp | 23 struct mutex struct 29 mutex m; 33 std::shared_lock<mutex> lk1(m); 34 std::shared_lock<mutex> lk2; 36 assert(lk1.mutex() == nullptr); 38 assert(lk2.mutex() == &m);
|
H A D | release.pass.cpp | 22 struct mutex struct 30 int mutex::lock_count = 0; 31 int mutex::unlock_count = 0; 33 mutex m; 37 std::shared_lock<mutex> lk(m); 38 assert(lk.mutex() == &m); 40 assert(mutex::lock_count == 1); 41 assert(mutex::unlock_count == 0); 43 assert(lk.mutex() == nullptr); 45 assert(mutex [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
H A D | try_lock.pass.cpp | 12 // <mutex> 18 #include <mutex> 25 struct mutex struct 35 mutex m; 39 std::unique_lock<mutex> lk(m, std::defer_lock);
|
H A D | try_lock_until.pass.cpp | 12 // <mutex> 19 #include <mutex> 26 struct mutex struct 39 mutex m; 44 std::unique_lock<mutex> lk(m, std::defer_lock);
|
H A D | unlock.pass.cpp | 12 // <mutex> 18 #include <mutex> 25 struct mutex struct 31 mutex m; 35 std::unique_lock<mutex> lk(m);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
H A D | member_swap.pass.cpp | 12 // <mutex> 18 #include <mutex> 21 struct mutex struct 27 mutex m; 31 std::unique_lock<mutex> lk1(m); 32 std::unique_lock<mutex> lk2; 34 assert(lk1.mutex() == nullptr); 36 assert(lk2.mutex() == &m);
|
H A D | nonmember_swap.pass.cpp | 12 // <mutex> 19 #include <mutex> 22 struct mutex struct 28 mutex m; 32 std::unique_lock<mutex> lk1(m); 33 std::unique_lock<mutex> lk2; 35 assert(lk1.mutex() == nullptr); 37 assert(lk2.mutex() == &m);
|
H A D | release.pass.cpp | 12 // <mutex> 18 #include <mutex> 21 struct mutex struct 29 int mutex::lock_count = 0; 30 int mutex::unlock_count = 0; 32 mutex m; 36 std::unique_lock<mutex> lk(m); 37 assert(lk.mutex() == &m); 39 assert(mutex::lock_count == 1); 40 assert(mutex [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
H A D | mutex.py | 3 A mutex has two pieces of state -- a 'locked' bit and a queue. 4 When the mutex is not locked, the queue is empty. 7 When the mutex is unlocked while the queue is not empty, 15 warnpy3k("the mutex module has been removed in Python 3.0", stacklevel=2) 20 class mutex: class in inherits: 22 """Create a new mutex -- initially unlocked.""" 27 """Test the locked bit of the mutex.""" 40 """Lock a mutex, call the function with supplied argument 41 when it is acquired. If the mutex is already locked, place 49 """Unlock a mutex [all...] |