Searched defs:mutex (Results 151 - 175 of 197) sorted by relevance

12345678

/external/blktrace/btreplay/
H A Dbtreplay.c85 * @mutex: Mutex used with condition variable to protect volatile values
106 pthread_mutex_t mutex; member in struct:thr_info
385 * @pmp: Pointer to the associated mutex
403 * @pmp: Pointer to the associated mutex
762 pthread_mutex_init(&tip->mutex, NULL);
847 pthread_mutex_destroy(&tip->mutex);
1011 pthread_mutex_lock(&tip->mutex);
1014 if (pthread_cond_wait(&tip->cond, &tip->mutex)) {
1021 pthread_mutex_unlock(&tip->mutex);
1053 pthread_mutex_lock(&tip->mutex);
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.h442 GetRegionInfo(i)->mutex.Lock();
448 GetRegionInfo(i)->mutex.Unlock();
492 BlockingMutex mutex; member in struct:__sanitizer::SizeClassAllocator64::RegionInfo
519 BlockingMutexLock l(&region->mutex);
734 SpinMutexLock l(&sci->mutex);
746 SpinMutexLock l(&sci->mutex);
796 GetSizeClassInfo(i)->mutex.Lock();
802 GetSizeClassInfo(i)->mutex.Unlock();
838 SpinMutex mutex; member in struct:__sanitizer::SizeClassAllocator32::SizeClassInfo
/external/curl/packages/OS400/
H A Dos400sys.c86 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable
217 pthread_mutex_lock(&mutex);
225 pthread_mutex_unlock(&mutex);
234 pthread_mutex_unlock(&mutex);
/external/fio/
H A Dfio.h23 #include "mutex.h"
254 struct fio_mutex *mutex; member in struct:thread_data
/external/guava/guava/src/com/google/common/collect/
H A DSynchronized.java48 * serializable if the backing collection and the mutex are serializable.
50 * <p>If {@code null} is passed as the {@code mutex} parameter to any of this
52 * uses itself as the synchronization mutex.
65 final Object mutex; field in class:Synchronized.SynchronizedObject
67 SynchronizedObject(Object delegate, @Nullable Object mutex) { argument
69 this.mutex = (mutex == null) ? this : mutex;
79 synchronized (mutex) {
91 synchronized (mutex) {
100 collection( Collection<E> collection, @Nullable Object mutex) argument
107 SynchronizedCollection( Collection<E> delegate, @Nullable Object mutex) argument
209 set(Set<E> set, @Nullable Object mutex) argument
216 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) argument
242 sortedSet( SortedSet<E> set, @Nullable Object mutex) argument
249 SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) argument
302 list(List<E> list, @Nullable Object mutex) argument
310 SynchronizedList(List<E> delegate, @Nullable Object mutex) argument
404 SynchronizedRandomAccessList(List<E> list, @Nullable Object mutex) argument
410 multiset( Multiset<E> multiset, @Nullable Object mutex) argument
424 SynchronizedMultiset(Multiset<E> delegate, @Nullable Object mutex) argument
505 multimap( Multimap<K, V> multimap, @Nullable Object mutex) argument
527 SynchronizedMultimap(Multimap<K, V> delegate, @Nullable Object mutex) argument
690 listMultimap( ListMultimap<K, V> multimap, @Nullable Object mutex) argument
701 SynchronizedListMultimap( ListMultimap<K, V> delegate, @Nullable Object mutex) argument
727 setMultimap( SetMultimap<K, V> multimap, @Nullable Object mutex) argument
740 SynchronizedSetMultimap( SetMultimap<K, V> delegate, @Nullable Object mutex) argument
774 sortedSetMultimap( SortedSetMultimap<K, V> multimap, @Nullable Object mutex) argument
784 SynchronizedSortedSetMultimap( SortedSetMultimap<K, V> delegate, @Nullable Object mutex) argument
816 typePreservingCollection( Collection<E> collection, @Nullable Object mutex) argument
830 typePreservingSet( Set<E> set, @Nullable Object mutex) argument
841 SynchronizedAsMapEntries( Set<Map.Entry<K, Collection<V>>> delegate, @Nullable Object mutex) argument
918 map(Map<K, V> map, @Nullable Object mutex) argument
928 SynchronizedMap(Map<K, V> delegate, @Nullable Object mutex) argument
1048 sortedMap( SortedMap<K, V> sortedMap, @Nullable Object mutex) argument
1056 SynchronizedSortedMap(SortedMap<K, V> delegate, @Nullable Object mutex) argument
1103 biMap(BiMap<K, V> bimap, @Nullable Object mutex) argument
1116 SynchronizedBiMap(BiMap<K, V> delegate, @Nullable Object mutex, @Nullable BiMap<V, K> inverse) argument
1161 SynchronizedAsMap(Map<K, Collection<V>> delegate, @Nullable Object mutex) argument
1203 SynchronizedAsMapValues( Collection<Collection<V>> delegate, @Nullable Object mutex) argument
1228 SynchronizedNavigableSet(NavigableSet<E> delegate, @Nullable Object mutex) argument
1328 navigableSet( NavigableSet<E> navigableSet, @Nullable Object mutex) argument
1345 navigableMap( NavigableMap<K, V> navigableMap, @Nullable Object mutex) argument
1354 SynchronizedNavigableMap( NavigableMap<K, V> delegate, @Nullable Object mutex) argument
1514 nullableSynchronizedEntry( @ullable Entry<K, V> entry, @Nullable Object mutex) argument
1526 SynchronizedEntry(Entry<K, V> delegate, @Nullable Object mutex) argument
1568 queue(Queue<E> queue, @Nullable Object mutex) argument
1577 SynchronizedQueue(Queue<E> delegate, @Nullable Object mutex) argument
1624 deque(Deque<E> deque, @Nullable Object mutex) argument
1632 SynchronizedDeque(Deque<E> delegate, @Nullable Object mutex) argument
[all...]
/external/libmicrohttpd/src/microhttpd/
H A Dinternal.h279 MHD_mutex_ mutex; member in struct:MHD_Response
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h1195 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1198 // Mutex mutex;
1200 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end
1205 // the following to define a static mutex:
1209 // You can forward declare a static mutex like this:
1213 // To create a dynamic mutex, just define an object of type Mutex.
1216 // Acquires this mutex.
1222 // Releases this mutex.
1226 // mutex whe
1277 GTestMutexLock(MutexBase* mutex) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
H A Dd3d11_screen.h99 maybe_mutex_t<threadsafe> mutex; member in struct:GalliumD3D11ScreenImpl
104 #define SYNCHRONIZED lock_t<maybe_mutex_t<threadsafe> > lock_(mutex)
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-port.h1185 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1188 // Mutex mutex;
1190 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end
1195 // the following to define a static mutex:
1199 // You can forward declare a static mutex like this:
1203 // To create a dynamic mutex, just define an object of type Mutex.
1206 // Acquires this mutex.
1212 // Releases this mutex.
1216 // mutex whe
1267 GTestMutexLock(MutexBase* mutex) argument
[all...]
/external/opencv3/modules/videoio/src/
H A Dcap_ffmpeg_impl.hpp494 static int LockCallBack(void **mutex, AVLockOp op) argument
496 ImplMutex* localMutex = reinterpret_cast<ImplMutex*>(*mutex);
502 *mutex = localMutex;
503 if (!*mutex)
519 *mutex = NULL;
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h959 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
962 // Mutex mutex;
964 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end
969 // the following to define a static mutex:
973 // You can forward declare a static mutex like this:
977 // To create a dynamic mutex, just define an object of type Mutex.
980 // Acquires this mutex.
986 // Releases this mutex.
990 // mutex whe
1041 GTestMutexLock(MutexBase* mutex) argument
[all...]
/external/blktrace/
H A Dblktrace.c103 * data onto. It's list is protected above (tracer_devpath_head.mutex)
124 * We will use a mutex to guard each of the trace_buf list. The tracers
142 pthread_mutex_t mutex; member in struct:tracer_devpath_head
522 static void t_pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) argument
527 pthread_cond_timedwait(cond, mutex, &ts);
1140 pthread_mutex_destroy(&hd->mutex);
1161 pthread_mutex_init(&hd->mutex, NULL);
1177 pthread_mutex_lock(&hd->mutex);
1179 pthread_mutex_unlock(&hd->mutex);
1399 pthread_mutex_lock(&hd->mutex);
[all...]
/external/dbus/dbus/
H A Ddbus-connection.c70 _dbus_rmutex_lock ((connection)->mutex); \
268 DBusRMutex *mutex; /**< Lock on the entire DBusConnection */ member in struct:DBusConnection
317 * from connection->mutex and all bitfields in a word have to be read/written together.
423 _dbus_rmutex_unlock (connection->mutex);
455 * @param mutex_loc return for the location of the main mutex pointer
456 * @param dispatch_mutex_loc return location of the dispatch mutex pointer
457 * @param io_path_mutex_loc return location of the io_path mutex pointer
471 *mutex_loc = (DBusMutex *) connection->mutex;
1062 * IO path mutex while waiting for the I/O path.
1079 /* We will only touch io_path_acquired which is protected by our mutex */
[all...]
H A Ddbus-sysdeps-win.c2507 HANDLE mutex; local
2510 mutex = CreateMutexA( NULL, FALSE, mutexname );
2511 if( !mutex )
2516 gotMutex = WaitForSingleObject( mutex, INFINITE );
2520 ReleaseMutex (mutex);
2521 CloseHandle (mutex);
2528 return mutex;
2532 void _dbus_global_unlock (HANDLE mutex) argument
2534 ReleaseMutex (mutex);
2535 CloseHandle (mutex);
2835 HANDLE mutex; local
[all...]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-port.h1225 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1228 // Mutex mutex;
1230 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end
1235 // the following to define a static mutex:
1239 // You can forward declare a static mutex like this:
1243 // To create a dynamic mutex, just define an object of type Mutex.
1246 // Acquires this mutex.
1253 // Releases this mutex.
1258 // mutex whe
1321 GTestMutexLock(MutexBase* mutex) argument
[all...]
/external/gtest/include/gtest/internal/
H A Dgtest-port.h1317 // MutexBase and Mutex implement mutex on pthreads-based platforms. They
1320 // Mutex mutex;
1322 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the end
1327 // the following to define a static mutex:
1331 // You can forward declare a static mutex like this:
1335 // To create a dynamic mutex, just define an object of type Mutex.
1338 // Acquires this mutex.
1345 // Releases this mutex.
1350 // mutex whe
1413 GTestMutexLock(MutexBase* mutex) argument
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_pipe.h154 pipe_mutex mutex; member in struct:r600_pipe_fences
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-port.h1392 // Mutex implements mutex on Windows platforms. It is used in conjunction
1395 // Mutex mutex;
1397 // MutexLock lock(&mutex); // Acquires the mutex and releases it at the
1426 // Does nothing if the current thread holds the mutex. Otherwise, crashes
1447 # define GTEST_DECLARE_STATIC_MUTEX_(mutex) \
1448 extern ::testing::internal::Mutex mutex
1450 # define GTEST_DEFINE_STATIC_MUTEX_(mutex) \
1451 ::testing::internal::Mutex mutex(::testing::internal::Mutex::kStaticMutex)
1460 explicit GTestMutexLock(Mutex* mutex) argument
1715 GTestMutexLock(MutexBase* mutex) argument
[all...]
/external/valgrind/helgrind/
H A Dhg_main.c1148 "granted on mutex/rwlock which is currently "
1161 "granted on mutex/wrlock which does not "
1281 lock_ga should refer to a standard mutex. */
2003 void* mutex, Word mbRec )
2007 (Int)tid, mbRec, (void*)mutex );
2010 (Addr)mutex, tid );
2016 void evh__HG_PTHREAD_MUTEX_DESTROY_PRE( ThreadId tid, void* mutex, argument
2024 (Int)tid, (void*)mutex, (Int)mutex_is_init );
2030 lk = map_locks_maybe_lookup( (Addr)mutex );
2033 /* We're destroying a mutex whic
2002 evh__HG_PTHREAD_MUTEX_INIT_POST( ThreadId tid, void* mutex, Word mbRec ) argument
2073 evh__HG_PTHREAD_MUTEX_LOCK_PRE( ThreadId tid, void* mutex, Word isTryLock ) argument
2488 evh__HG_PTHREAD_COND_WAIT_POST( ThreadId tid, void* cond, void* mutex, Bool timeout) argument
[all...]
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp253 // expected-warning{{releasing mutex 'sls_mu' that was not held}}
259 // expected-warning{{acquiring mutex 'sls_mu' that is already held}}
264 sls_mu.Lock(); // expected-note {{mutex acquired here}}
265 } // expected-warning{{mutex 'sls_mu' is still held at the end of function}}
269 sls_mu.Lock(); // expected-note{{mutex acquired here}}
271 sls_mu2.Lock(); // expected-note{{mutex acquired here}}
272 } // expected-warning{{mutex 'sls_mu' is not held on every path through here}} \
273 // expected-warning{{mutex 'sls_mu2' is not held on every path through here}}
276 sls_mu.Lock(); // expected-note {{mutex acquired here}}
279 } // expected-warning{{mutex 'sls_m
2015 struct __attribute__((lockable)) mutex { struct in namespace:GoingNative
[all...]
/external/dlmalloc/
H A Dmalloc.c115 pthread mutex, win32 critical section, or a spin-lock if if
264 pthread or WIN32 mutex lock/unlock. (If set true, this can be
2561 If USE_LOCKS is defined, the "mutex" lock is acquired and released
2597 MLOCK_T mutex; /* locate lock among fields that rarely change */ member in struct:malloc_state
2743 #define PREACTION(M) ((use_lock(M))? ACQUIRE_LOCK(&(M)->mutex) : 0)
2744 #define POSTACTION(M) { if (use_lock(M)) RELEASE_LOCK(&(M)->mutex); }
3095 static void pre_fork(void) { ACQUIRE_LOCK(&(gm)->mutex); }
3096 static void post_fork_parent(void) { RELEASE_LOCK(&(gm)->mutex); }
3097 static void post_fork_child(void) { INITIAL_LOCK(&(gm)->mutex); }
3160 (void)INITIAL_LOCK(&gm->mutex);
[all...]
/external/v8/src/
H A Dgdb-jit.cc2060 static base::LazyMutex mutex = LAZY_MUTEX_INITIALIZER; member in namespace:v8::internal
2159 base::LockGuard<base::Mutex> lock_guard(mutex.Pointer());
/external/v8/src/heap/
H A Dspaces.h12 #include "src/base/platform/mutex.h"
574 base::Mutex* mutex() { return mutex_; } function in class:v8::internal::MemoryChunk
1128 // The global mutex guards free_list_ and allocation_list_ as GC threads may
1791 base::Mutex* mutex() { return &mutex_; } function in class:v8::internal::FreeList
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp2250 explicit UniqueMutex(pthread_mutex_t* mutex) : mutex_(mutex) { argument
2253 ALOGE("failure obtaining mutex in %s: %d", __func__, err);
2264 ALOGE("failure releasing mutex in %s: %d", __func__, err);
7358 * (4) Finally, a mutex is needed to make sure that at most one thread is in
7360 * requirement. We use the same mutex to guard the field for counting the
7367 * accesses to that field inside a lock/unlock sequence of our mutex, but
7406 MUTEX_TYPE mutex;
7431 if (MUTEX_SETUP(appData.get()->mutex) == -1) {
7447 MUTEX_CLEANUP(mutex);
[all...]
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...

Completed in 1791 milliseconds

12345678