/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_dummy_threading.py | 13 global mutex 21 mutex.acquire() 25 mutex.release() 29 mutex.acquire() 33 mutex.release() 40 global mutex 41 mutex = _threading.RLock()
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_dummy_threading.py | 13 global mutex 21 mutex.acquire() 25 mutex.release() 29 mutex.acquire() 33 mutex.release() 40 global mutex 41 mutex = _threading.RLock()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dummy_threading.py | 13 global mutex 21 mutex.acquire() 25 mutex.release() 29 mutex.acquire() 33 mutex.release() 40 global mutex 41 mutex = _threading.RLock()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dummy_threading.py | 13 global mutex 21 mutex.acquire() 25 mutex.release() 29 mutex.acquire() 33 mutex.release() 40 global mutex 41 mutex = _threading.RLock()
|
/external/clang/test/SemaCXX/ |
warn-thread-safety-analysis.cpp | 30 class LOCKABLE Mutex { 40 const Mutex& operator!() const { return *this; } 48 MutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); 49 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu); 55 ReaderMutexLock(Mutex *mu) SHARED_LOCK_FUNCTION(mu); 56 ReaderMutexLock(Mutex *mu, bool adopt) SHARED_LOCKS_REQUIRED(mu); 62 ReleasableMutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); 70 DoubleMutexLock(Mutex *mu1, Mutex *mu2) 141 Mutex sls_mu 2015 struct __attribute__((lockable)) mutex { struct in namespace:GoingNative [all...] |
/external/fio/ |
gettime-thread.c | 40 struct fio_mutex *mutex; member in struct:gtod_cpu_data 46 struct fio_mutex *mutex = data; local 49 fio_mutex_up(mutex); 67 struct fio_mutex *mutex; local 71 mutex = fio_mutex_init(FIO_MUTEX_LOCKED); 72 if (!mutex) 77 ret = pthread_create(>od_thread, &attr, gtod_thread_main, mutex); 91 fio_mutex_down(mutex); 94 fio_mutex_remove(mutex);
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
wait.exception.pass.cpp | 14 #include <mutex> 24 struct Mutex 27 Mutex() = default; 28 ~Mutex() = default; 29 Mutex(const Mutex&) = delete; 30 Mutex& operator=(const Mutex&) = delete; 41 Mutex mut;
|
wait_for.exception.pass.cpp | 14 #include <mutex> 24 struct Mutex 27 Mutex() = default; 28 ~Mutex() = default; 29 Mutex(const Mutex&) = delete; 30 Mutex& operator=(const Mutex&) = delete; 41 Mutex mut;
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
copy_assign.fail.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 19 std::mutex m0; 20 std::mutex m1; 24 std::unique_lock<std::mutex> lk0(m0); 25 std::unique_lock<std::mutex> lk1(m1); 27 assert(lk1.mutex() == &m0); 29 assert(lk0.mutex() == nullptr);
|
move_assign.pass.cpp | 12 // <mutex> 14 // template <class Mutex> class unique_lock; 18 #include <mutex> 21 std::mutex m0; 22 std::mutex m1; 27 std::unique_lock<std::mutex> lk0(m0); 28 std::unique_lock<std::mutex> lk1(m1); 30 assert(lk1.mutex() == &m0); 32 assert(lk0.mutex() == nullptr);
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
member_swap.pass.cpp | 12 // <mutex> 14 // template <class Mutex> class unique_lock; 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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
copy_assign.fail.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 19 std::mutex m0; 20 std::mutex m1; 24 std::unique_lock<std::mutex> lk0(m0); 25 std::unique_lock<std::mutex> lk1(m1); 27 assert(lk1.mutex() == &m0); 29 assert(lk0.mutex() == nullptr);
|
move_assign.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 19 std::mutex m0; 20 std::mutex m1; 25 std::unique_lock<std::mutex> lk0(m0); 26 std::unique_lock<std::mutex> lk1(m1); 28 assert(lk1.mutex() == &m0); 30 assert(lk0.mutex() == nullptr);
|
/external/ceres-solver/internal/ceres/ |
mutex.h | 31 // A simple mutex wrapper, supporting locks and read-write locks. 39 // problems when we have multiple versions of Mutex in each shared object. 63 // function that tries to acquire this mutex -- but that all happens 64 // before this mutex's constructor has run. (This can happen even if 65 // the mutex and the function that uses the mutex are in the same .cc 66 // file.) Basically, because Mutex does non-trivial work in its 70 // The solution used here is to pair the actual mutex primitive with a 71 // bool that is set to true when the mutex is dynamically initialized. 72 // (Before that it's false.) Then we modify all mutex routines t [all...] |
/development/ndk/platforms/android-3/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/external/compiler-rt/test/tsan/ |
mutex_destroy_locked.cc | 13 // CHECK: WARNING: ThreadSanitizer: destroy of a locked mutex 19 // CHECK: Mutex {{.*}} created at: 22 // CHECK: SUMMARY: ThreadSanitizer: destroy of a locked mutex{{.*}}main
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
release.pass.cpp | 14 // template <class Mutex> class shared_lock; 23 struct mutex struct 31 int mutex::lock_count = 0; 32 int mutex::unlock_count = 0; 34 mutex m; 41 std::shared_lock<mutex> lk(m); 42 assert(lk.mutex() == &m); 44 assert(mutex::lock_count == 1); 45 assert(mutex::unlock_count == 0); 47 assert(lk.mutex() == nullptr) [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
mutex.hpp | 2 // detail/mutex.hpp 27 typedef posix_mutex mutex; typedef in namespace:asio::detail 29 typedef std_mutex mutex;
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|