HomeSort by relevance Sort by last modified time
    Searched defs:mutex (Results 201 - 225 of 556) sorted by null

1 2 3 4 5 6 7 891011>>

  /prebuilts/ndk/r11/platforms/android-3/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/r11/platforms/android-4/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/r11/platforms/android-5/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/r11/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/r11/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/r11/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/r11/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/compiler-rt/lib/tsan/rtl/
tsan_debugging.cc 26 if (typ == ReportTypeMutexDestroyLocked) return "locked-mutex-destroy";
27 if (typ == ReportTypeMutexDoubleLock) return "mutex-double-lock";
28 if (typ == ReportTypeMutexInvalidAccess) return "mutex-invalid-access";
29 if (typ == ReportTypeMutexBadUnlock) return "mutex-bad-unlock";
30 if (typ == ReportTypeMutexBadReadLock) return "mutex-bad-read-lock";
31 if (typ == ReportTypeMutexBadReadUnlock) return "mutex-bad-read-unlock";
132 ReportMutex *mutex = rep->mutexes[idx]; local
133 *mutex_id = mutex->id;
134 *addr = (void *)mutex->addr;
135 *destroyed = mutex->destroyed
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
2-2.c 11 * own the mutex with which it called pthread_cond_timedwait().
28 pthread_mutex_t mutex; member in struct:testdata
42 if (pthread_mutex_lock(&td.mutex) != 0) {
43 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
47 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n",
60 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
67 if (pthread_mutex_trylock(&td.mutex) == 0) {
69 "mutex again\n", (void *)self);
74 "mutex again\n", (void *)self);
77 if (pthread_mutex_unlock(&td.mutex) != 0)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
2-1.c 11 * own the mutex with which it called pthread_cond_wait().
26 pthread_mutex_t mutex; member in struct:testdata
52 if (pthread_mutex_lock(&td.mutex) != 0) {
53 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
57 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n",
63 rc = pthread_cond_wait(&td.cond, &td.mutex);
69 if (pthread_mutex_trylock(&td.mutex) != 0) {
71 "[Thread 0x%p] should be able to lock the recursive mutex again\n",
77 "[Thread 0x%p] was wakened and acquired the mutex again\n",
81 if (pthread_mutex_unlock(&td.mutex) != 0)
    [all...]
2-2.c 11 * own the mutex with which it called pthread_cond_timedwait().
28 pthread_mutex_t mutex; member in struct:testdata
42 if (pthread_mutex_lock(&td.mutex) != 0) {
43 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
47 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n",
61 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
68 if (pthread_mutex_trylock(&td.mutex) != 0) {
70 "[Thread 0x%p] should be able to lock the recursive mutex again\n",
76 "[Thread 0x%p] was wakened and acquired the mutex again\n",
80 if (pthread_mutex_unlock(&td.mutex) != 0)
    [all...]
  /external/mesa3d/src/egl/main/
egllog.c 51 _EGLMutex mutex; member in struct:__anon27065
85 _eglLockMutex(&logging.mutex);
94 _eglUnlockMutex(&logging.mutex);
114 _eglLockMutex(&logging.mutex);
116 _eglUnlockMutex(&logging.mutex);
191 _eglLockMutex(&logging.mutex);
204 _eglUnlockMutex(&logging.mutex);
  /external/mesa3d/src/gallium/auxiliary/util/
u_ringbuffer.c 20 pipe_mutex mutex; member in struct:util_ringbuffer
39 pipe_mutex_init(ring->mutex);
51 pipe_mutex_destroy(ring->mutex);
79 pipe_mutex_lock(ring->mutex);
88 pipe_condvar_wait(ring->change, ring->mutex);
106 pipe_mutex_unlock(ring->mutex);
120 pipe_mutex_lock(ring->mutex);
126 pipe_condvar_wait(ring->change, ring->mutex);
158 pipe_mutex_unlock(ring->mutex);
u_slab.h 71 pipe_mutex mutex; member in struct:util_slab_mempool
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_framebuffer.h 45 * This mutex has two purposes:
49 * It is OK to lock this mutex while holding the stw_device::fb_mutex lock,
52 pipe_mutex mutex; member in struct:stw_framebuffer
57 * Note that even access to immutable members implies acquiring the mutex
97 * This is protected by stw_device::fb_mutex, not the mutex above.
100 * acquiring the stw_framebuffer::mutex of the framebuffer to be deleted.
103 * It is not necessary to aquire the mutex above to navigate the linked list
114 * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
130 * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
140 * This function will acquire stw_framebuffer::mutex. stw_framebuffer_releas
    [all...]
  /hardware/qcom/display/msm8960/libgralloc/
gr.h 65 pthread_mutex_t mutex; member in class:Locker
73 inline Locker() { pthread_mutex_init(&mutex, 0); }
74 inline ~Locker() { pthread_mutex_destroy(&mutex); }
75 inline void lock() { pthread_mutex_lock(&mutex); }
76 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
ByteBuddyCrossClassLoaderSerializationSupport.java 59 private final Lock mutex = new ReentrantLock(); field in class:ByteBuddyCrossClassLoaderSerializationSupport
106 mutex.lock();
127 mutex.unlock();
  /bionic/benchmarks/
pthread_benchmark.cpp 69 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; local
72 pthread_mutex_lock(&mutex);
73 pthread_mutex_unlock(&mutex);
79 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; local
82 pthread_mutex_lock(&mutex);
83 pthread_mutex_unlock(&mutex);
89 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; local
92 pthread_mutex_lock(&mutex);
93 pthread_mutex_unlock(&mutex);
  /external/ImageMagick/MagickCore/
semaphore.c 63 mutex;
87 % ActivateSemaphoreInfo() activates a semaphore under protection of a mutex
212 omp_init_lock((omp_lock_t *) &semaphore_info->mutex);
225 perror("unable to initialize mutex attributes");
234 perror("unable to set mutex type");
239 status=pthread_mutex_init(&semaphore_info->mutex,&mutex_info);
243 perror("unable to initialize mutex");
250 perror("unable to destroy mutex attributes");
259 status=InitializeCriticalSectionAndSpinCount(&semaphore_info->mutex,0x0400);
310 omp_set_lock((omp_lock_t *) &semaphore_info->mutex);
61 mutex; member in struct:SemaphoreInfo
    [all...]
  /external/conscrypt/common/src/jni/main/include/
AppData.h 26 #include <mutex>
62 * (4) Finally, a mutex is needed to make sure that at most one thread is in
64 * requirement. We use the same mutex to guard the field for counting the
71 * accesses to that field inside a lock/unlock sequence of our mutex, but
105 std::mutex mutex; member in class:conscrypt::AppData
  /external/drm_gralloc/
gralloc_drm_priv.h 46 pthread_mutex_t mutex; member in struct:drm_module_t
  /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);
27 void fio_mutex_remove(struct fio_mutex *mutex)
29 __fio_mutex_remove(mutex);
30 munmap((void *) mutex, sizeof(*mutex));
33 int __fio_mutex_init(struct fio_mutex *mutex, int value)
39 mutex->value = value
78 struct fio_mutex *mutex = NULL; local
    [all...]
  /external/libcxx/src/
mutex.cpp 1 //===------------------------- mutex.cpp ----------------------------------===//
11 #include "mutex"
23 mutex::~mutex()
29 mutex::lock()
33 __throw_system_error(ec, "mutex lock failed");
37 mutex::try_lock() _NOEXCEPT
43 mutex::unlock() _NOEXCEPT
47 _LIBCPP_ASSERT(ec == 0, "call to mutex::unlock failed");
97 lock_guard<mutex> _(__m_)
    [all...]
  /external/llvm/include/llvm/Support/
RWMutex.h 86 /// SmartMutex - An R/W mutex with a compile time constant parameter that
87 /// indicates whether this mutex should become a no-op when we're not
148 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
150 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
151 mutex.lock_shared();
155 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
2-1.c 41 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable
73 rc = pthread_mutex_lock(&mutex);
85 rc = pthread_mutex_unlock(&mutex);
162 rc = pthread_mutex_lock(&mutex);
178 rc = pthread_mutex_unlock(&mutex);

Completed in 4521 milliseconds

1 2 3 4 5 6 7 891011>>