/prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/Android.mk 19 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock 23 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default 27 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_until 31 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_fo [all...] |
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/Android.mk 19 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/lock 23 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default 27 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_until 31 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_fo [all...] |
/bionic/benchmarks/ |
pthread_benchmark.cpp | 69 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; local 73 pthread_mutex_lock(&mutex); 74 pthread_mutex_unlock(&mutex); 83 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER; local 87 pthread_mutex_lock(&mutex); 88 pthread_mutex_unlock(&mutex); 97 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER; local 101 pthread_mutex_lock(&mutex); 102 pthread_mutex_unlock(&mutex);
|
/external/chromium_org/third_party/icu/source/common/ |
umutex.h | 35 * (empty) mutex implementation with the u_setMutexFunctions() functions. 80 * instantiate a Mutex object while doing so. The unnamed global mutex 88 * umtx_lock(NULL); // Lock the ICU global mutex 93 * an alternative C++ mutex API is defined in the file common/mutex.h 96 /* Lock a mutex. 97 * @param mutex The given mutex to be locked. Pass NULL to specify 98 * the global ICU mutex. Recursive locks are an erro [all...] |
/external/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
wait.pass.cpp | 14 // void wait(unique_lock<mutex>& lock); 17 #include <mutex> 22 std::mutex mut; 29 std::unique_lock<std::mutex> lk(mut); 40 std::unique_lock<std::mutex>lk(mut);
|
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
unlock.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 21 struct mutex struct 27 mutex m; 31 std::unique_lock<mutex> lk(m);
|
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/ |
native_handle.pass.cpp | 10 // <mutex> 17 #include <mutex>
|
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/ |
Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/Android.mk 19 test_name := thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/nothing_to_do
|
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/ |
Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/Android.mk 19 test_name := thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/nothing_to_do
|
/external/valgrind/main/drd/ |
drd_mutex.h | 39 struct mutex_info* DRD_(mutex_init)(const Addr mutex, const MutexT mutex_type); 40 void DRD_(mutex_post_destroy)(const Addr mutex); 41 void DRD_(not_a_mutex)(const Addr mutex); 42 struct mutex_info* DRD_(mutex_get)(const Addr mutex); 43 void DRD_(mutex_pre_lock)(const Addr mutex, const MutexT mutex_type, 45 void DRD_(mutex_post_lock)(const Addr mutex, const Bool took_lock, 47 void DRD_(mutex_unlock)(const Addr mutex, const MutexT mutex_type); 51 Bool DRD_(mutex_is_locked_by)(const Addr mutex, const DrdThreadId tid); 52 int DRD_(mutex_get_recursion_count)(const Addr mutex);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
wait.pass.cpp | 14 // void wait(unique_lock<mutex>& lock); 17 #include <mutex> 22 std::mutex mut; 29 std::unique_lock<std::mutex> lk(mut); 40 std::unique_lock<std::mutex>lk(mut);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
unlock.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 21 struct mutex struct 27 mutex m; 31 std::unique_lock<mutex> lk(m);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/ |
native_handle.pass.cpp | 10 // <mutex> 17 #include <mutex>
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SynchronizedSetTest.java | 36 public final Object mutex = new Integer(1); // something Serializable field in class:SynchronizedSetTest 39 TestSet<E> inner = new TestSet<E>(new HashSet<E>(), mutex); 40 Set<E> outer = Synchronized.set(inner, inner.mutex); 54 public final Object mutex; field in class:SynchronizedSetTest.TestSet 56 public TestSet(Set<E> delegate, Object mutex) { 57 checkNotNull(mutex); 59 this.mutex = mutex; 67 assertTrue(Thread.holdsLock(mutex)); 72 assertTrue(Thread.holdsLock(mutex)); [all...] |
SynchronizedBiMapTest.java | 41 new TestBiMap<K, V>(HashBiMap.<K, V>create(), mutex); 42 BiMap<K, V> outer = Synchronized.biMap(inner, mutex); 49 public TestBiMap(BiMap<K, V> delegate, Object mutex) { 50 super(delegate, mutex); 56 assertTrue(Thread.holdsLock(mutex)); 62 assertTrue(Thread.holdsLock(mutex)); 67 assertTrue(Thread.holdsLock(mutex)); 83 assertSame(mutex, ((SynchronizedBiMap<?, ?>) inverse).mutex); 90 assertSame(mutex, ((SynchronizedSet<?>) values).mutex) 94 public final Object mutex = new Integer(1); \/\/ something Serializable field in class:SynchronizedBiMapTest.AbstractBiMapTests [all...] |
/bionic/libc/bionic/ |
pthread_mutex.cpp | 42 extern void pthread_debug_mutex_lock_check(pthread_mutex_t *mutex); 43 extern void pthread_debug_mutex_unlock_check(pthread_mutex_t *mutex); 45 /* a mutex is implemented as a 32-bit integer holding the following fields 49 * 15-14 type mutex type 69 /* Mutex state: 93 /* return true iff the mutex if locked with no waiters */ 96 /* return true iff the mutex if locked with maybe waiters */ 102 /* Mutex counter: 120 /* Mutex shared bit flag 122 * This flag is set to indicate that the mutex is shared among processes [all...] |
/external/libcxx/test/thread/thread.mutex/ |
Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/Android.mk 19 test_name := thread/thread.mutex/version
|
/external/llvm/include/llvm/Support/ |
RWMutex.h | 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that 85 /// indicates whether this mutex should become a no-op when we're not 145 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader 147 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) { 148 mutex.reader_acquire(); 152 mutex.reader_release(); 160 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter 162 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) { 163 mutex.writer_acquire(); 167 mutex.writer_release() [all...] |
/external/qemu/include/qemu/ |
thread.h | 22 void qemu_mutex_init(QemuMutex *mutex); 23 void qemu_mutex_destroy(QemuMutex *mutex); 24 void qemu_mutex_lock(QemuMutex *mutex); 25 int qemu_mutex_trylock(QemuMutex *mutex); 26 int qemu_mutex_timedlock(QemuMutex *mutex, uint64_t msecs); 27 void qemu_mutex_unlock(QemuMutex *mutex); 37 * and pthread_cond_broadcast can be called except while the same mutex is 42 void qemu_cond_wait(QemuCond *cond, QemuMutex *mutex); 43 int qemu_cond_timedwait(QemuCond *cond, QemuMutex *mutex, uint64_t msecs);
|
/libcore/include/ |
ScopedPthreadMutexLock.h | 27 explicit ScopedPthreadMutexLock(pthread_mutex_t* mutex) : mMutexPtr(mutex) {
|
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/Android.mk 19 test_name := thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock 23 test_name := thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default 27 test_name := thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock_shared 31 test_name := thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_unti [all...] |