HomeSort by relevance Sort by last modified time
    Searched refs:mutex (Results 176 - 200 of 1723) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Synchronized.java 40 * serializable if the backing collection and the mutex are serializable.
42 * <p>If {@code null} is passed as the {@code mutex} parameter to any of this
44 * uses itself as the synchronization mutex.
57 final Object mutex; field in class:Synchronized.SynchronizedObject
59 SynchronizedObject(Object delegate, @Nullable Object mutex) {
61 this.mutex = (mutex == null) ? this : mutex;
71 synchronized (mutex) {
83 Collection<E> collection, @Nullable Object mutex) {
    [all...]
  /device/asus/flo/camera/QCamera2/stack/common/
cam_semaphore.h 37 /* Implement semaphore with mutex and conditional variable.
44 pthread_mutex_t mutex; member in struct:__anon2646
50 pthread_mutex_init(&(s->mutex), NULL);
57 pthread_mutex_lock(&(s->mutex));
60 pthread_mutex_unlock(&(s->mutex));
66 pthread_mutex_lock(&(s->mutex));
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex));
70 pthread_mutex_unlock(&(s->mutex));
76 pthread_mutex_destroy(&(s->mutex));
  /device/lge/hammerhead/camera/QCamera2/stack/common/
cam_semaphore.h 37 /* Implement semaphore with mutex and conditional variable.
44 pthread_mutex_t mutex; member in struct:__anon3133
50 pthread_mutex_init(&(s->mutex), NULL);
57 pthread_mutex_lock(&(s->mutex));
60 pthread_mutex_unlock(&(s->mutex));
66 pthread_mutex_lock(&(s->mutex));
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex));
70 pthread_mutex_unlock(&(s->mutex));
76 pthread_mutex_destroy(&(s->mutex));
  /device/moto/shamu/camera/QCamera2/stack/common/
cam_semaphore.h 37 /* Implement semaphore with mutex and conditional variable.
44 pthread_mutex_t mutex; member in struct:__anon4192
50 pthread_mutex_init(&(s->mutex), NULL);
57 pthread_mutex_lock(&(s->mutex));
60 pthread_mutex_unlock(&(s->mutex));
66 pthread_mutex_lock(&(s->mutex));
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex));
70 pthread_mutex_unlock(&(s->mutex));
76 pthread_mutex_destroy(&(s->mutex));
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
pthread_mutex_destroy.c 5 * This translation unit implements mutual exclusion (mutex) primitives.
42 pthread_mutex_destroy (pthread_mutex_t * mutex)
54 if (*mutex < PTHREAD_ERRORCHECK_MUTEX_INITIALIZER)
56 mx = *mutex;
61 * If trylock succeeded and the mutex is not recursively locked it
70 * The mutex isn't held by another thread but we could still
71 * be too late invalidating the mutex below since another thread
73 * *mutex != NULL.
75 *mutex = NULL;
87 *mutex = mx
    [all...]
  /external/fio/
mutex.c 14 #include "mutex.h"
21 void fio_mutex_remove(struct fio_mutex *mutex)
23 assert(mutex->magic == FIO_MUTEX_MAGIC);
24 pthread_cond_destroy(&mutex->cond);
25 munmap((void *) mutex, sizeof(*mutex));
28 int __fio_mutex_init(struct fio_mutex *mutex, int value)
34 mutex->value = value;
35 mutex->magic = FIO_MUTEX_MAGIC;
58 pthread_cond_init(&mutex->cond, &cond)
73 struct fio_mutex *mutex = NULL; local
    [all...]
  /external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/
types.pass.cpp 12 // template <class Mutex>
16 // typedef Mutex mutex_type;
26 static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type,
27 std::mutex>::value), "");
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
CondVar.h 27 #include "Mutex.h"
66 void wait (Mutex& mutex);
79 bool wait (Mutex& mutex, long millisec);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/
types.pass.cpp 12 // template <class Mutex>
16 // typedef Mutex mutex_type;
26 static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type,
27 std::mutex>::value), "");
  /packages/apps/Nfc/nci/jni/
CondVar.h 23 #include "Mutex.h"
62 void wait (Mutex& mutex);
75 bool wait (Mutex& mutex, long millisec);
  /external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
mutex.pass.cpp 12 // template <class Mutex> class shared_lock;
14 // mutex_type *mutex() const noexcept;
29 assert(lk0.mutex() == nullptr);
31 assert(lk1.mutex() == &m);
33 assert(lk1.mutex() == &m);
34 static_assert(noexcept(lk0.mutex()), "mutex() must be noexcept");
  /external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/
Android.mk 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/Android.mk
19 test_name := thread/thread.mutex/thread.mutex.requirements/nothing_to_do
  /external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
  /external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
  /external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
  /external/libcxx/test/thread/thread.mutex/thread.once/thread.once.onceflag/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
default.pass.cpp 10 // <mutex>
16 #include <mutex>
  /external/llvm/lib/Support/
Mutex.cpp 1 //===- Mutex.cpp - Mutual Exclusion Lock ------------------------*- C++ -*-===//
10 // This file implements the llvm::sys::Mutex class.
15 #include "llvm/Support/Mutex.h"
43 // Construct a Mutex using pthread calls
48 pthread_mutex_t* mutex =
52 // Initialize the mutex attributes
56 // Initialize the mutex as a recursive mutex, if requested, or normal
62 // Initialize the mutex
63 errorcode = pthread_mutex_init(mutex, &attr)
    [all...]
  /external/valgrind/main/helgrind/tests/
cond_timedwait_invalid.c 10 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; local
21 assert(pthread_mutex_lock(&mutex)==0);
22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL);
23 assert(pthread_mutex_unlock(&mutex)==0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
mutex.pass.cpp 12 // template <class Mutex> class shared_lock;
14 // mutex_type *mutex() const noexcept;
29 assert(lk0.mutex() == nullptr);
31 assert(lk1.mutex() == &m);
33 assert(lk1.mutex() == &m);
34 static_assert(noexcept(lk0.mutex()), "mutex() must be noexcept");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>

Completed in 452 milliseconds

1 2 3 4 5 6 78 91011>>