HomeSort by relevance Sort by last modified time
    Searched full:mutex (Results 251 - 275 of 3911) sorted by null

<<11121314151617181920>>

  /external/valgrind/drd/tests/
recursive_mutex.stderr.exp-solaris 2 Recursive mutex (statically initialized).
4 Non-recursive mutex.
6 Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
10 mutex 0x........ was first observed at:
pth_mutex_reinit.stderr.exp 2 Mutex reinitialization: mutex 0x........, recursion count 0, owner 1.
5 mutex 0x........ was first observed at:
tc04_free_lock.stderr.exp-ppc 2 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
5 mutex 0x........ was first observed at:
9 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
12 mutex 0x........ was first observed at:
17 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
20 mutex 0x........ was first observed at:
25 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1
    [all...]
tc04_free_lock.stderr.exp-x86 2 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
5 mutex 0x........ was first observed at:
9 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
12 mutex 0x........ was first observed at:
17 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
20 mutex 0x........ was first observed at:
25 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1
    [all...]
tc22_exit_w_lock.stderr.exp-64bit 0 Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 3.
4 mutex 0x........ was first observed at:
  /frameworks/av/include/media/stagefright/foundation/
Mutexed.h 20 #include <utils/Mutex.h>
26 * Wrapper class to programmatically protect a structure using a mutex.
28 * Mutexed<> objects contain a built-in mutex. Protection is enforced because the structure can
29 * only be accessed by locking the mutex first.
47 * // the mutex is locked here, so accessing the data is safe
53 * // if you need to temporarily unlock the mutex, you can use unlock/relock mutex locally
66 * // you can use the integral mutex to wait for a condition
88 * Accessor-guard of the mutex-protected structure. This can be dereferenced to
91 * Upon creation, the mutex is locked. You can use lock()/unlock() methods t
    [all...]
  /hardware/intel/common/libwsbm/src/
wsbm_driver.c 51 n_mutexInit(struct _WsbmMutex *mutex, struct _WsbmThreadFuncs *func)
53 mutex->func = func;
65 n_mutexNone(struct _WsbmMutex *mutex __attribute__ ((unused)))
77 n_condWait(struct _WsbmCond *cond __attribute__ ((unused)), struct _WsbmMutex *mutex __attribute__ ((unused)))
109 pthread_mutex_t mutex; member in struct:_WsbmPMutex
143 p_mutexInit(struct _WsbmMutex *mutex, struct _WsbmThreadFuncs *func)
145 struct _WsbmPMutex *pMutex = pMutexConvert(mutex);
151 pthread_mutex_init(&pMutex->mutex, NULL);
156 p_mutexFree(struct _WsbmMutex *mutex)
158 struct _WsbmPMutex *pMutex = pMutexConvert(mutex);
    [all...]
  /hardware/libhardware/modules/gralloc/
gr.h 46 pthread_mutex_t mutex; member in class:Locker
54 inline Locker() { pthread_mutex_init(&mutex, 0); }
55 inline ~Locker() { pthread_mutex_destroy(&mutex); }
56 inline void lock() { pthread_mutex_lock(&mutex); }
57 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
default.pass.cpp 10 // <mutex>
12 // template <class Mutex> class unique_lock;
16 #include <mutex>
21 std::unique_lock<std::mutex> ul;
23 assert(ul.mutex() == nullptr);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
default.pass.cpp 10 // <mutex>
12 // class mutex;
14 // mutex();
16 #include <mutex>
20 std::mutex m;
  /packages/apps/Nfc/nci/jni/
CondVar.h 23 #include "Mutex.h"
62 void wait (Mutex& mutex);
75 bool wait (Mutex& mutex, long millisec);
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_mutex.h 53 * \name Mutex functions
57 /* The SDL mutex structure, defined in SDL_sysmutex.c */
62 * Create a mutex, initialized unlocked.
67 * Lock the mutex.
72 extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
75 * Try to lock the mutex
79 extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
82 * Unlock the mutex.
86 * \warning It is an error to unlock a mutex that has not been locked by
90 extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
    [all...]
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_mutex.h 53 * \name Mutex functions
57 /* The SDL mutex structure, defined in SDL_sysmutex.c */
62 * Create a mutex, initialized unlocked.
67 * Lock the mutex.
72 extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
75 * Try to lock the mutex
79 extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
82 * Unlock the mutex.
86 * \warning It is an error to unlock a mutex that has not been locked by
90 extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
    [all...]
  /prebuilts/misc/windows/sdl2/include/
SDL_mutex.h 53 * \name Mutex functions
57 /* The SDL mutex structure, defined in SDL_sysmutex.c */
62 * Create a mutex, initialized unlocked.
67 * Lock the mutex.
72 extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
75 * Try to lock the mutex
79 extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
82 * Unlock the mutex.
86 * \warning It is an error to unlock a mutex that has not been locked by
90 extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
    [all...]
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_mutex.h 53 * \name Mutex functions
57 /* The SDL mutex structure, defined in SDL_sysmutex.c */
62 * Create a mutex, initialized unlocked.
67 * Lock the mutex.
72 extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
75 * Try to lock the mutex
79 extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
82 * Unlock the mutex.
86 * \warning It is an error to unlock a mutex that has not been locked by
90 extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
    [all...]
  /external/squashfs-tools/squashfs-tools/
caches-queues-lists.c 56 pthread_mutex_init(&queue->mutex, NULL);
68 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex);
69 pthread_mutex_lock(&queue->mutex);
72 pthread_cond_wait(&queue->full, &queue->mutex);
85 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex);
86 pthread_mutex_lock(&queue->mutex);
89 pthread_cond_wait(&queue->empty, &queue->mutex);
104 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex);
105 pthread_mutex_lock(&queue->mutex);
117 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex);
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
AbstractQueuedLongSynchronizerTest.java 36 * A simple mutex class, adapted from the class javadoc. Exclusive
39 static class Mutex extends AbstractQueuedLongSynchronizer {
112 final Mutex sync;
113 InterruptibleSyncRunnable(Mutex sync) { this.sync = sync; }
124 final Mutex sync;
125 InterruptedSyncRunnable(Mutex sync) { this.sync = sync; }
188 * after acquiring mutex.
190 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c,
200 void assertHasWaitersLocked(Mutex sync, ConditionObject c,
277 Mutex sync = new Mutex()
    [all...]
AbstractQueuedSynchronizerTest.java 36 * A simple mutex class, adapted from the class javadoc. Exclusive
42 static class Mutex extends AbstractQueuedSynchronizer {
116 final Mutex sync;
117 InterruptibleSyncRunnable(Mutex sync) { this.sync = sync; }
128 final Mutex sync;
129 InterruptedSyncRunnable(Mutex sync) { this.sync = sync; }
191 * after acquiring mutex.
193 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c,
203 void assertHasWaitersLocked(Mutex sync, ConditionObject c,
280 Mutex sync = new Mutex()
    [all...]
  /frameworks/av/media/libmediaplayerservice/
MediaRecorderClient.cpp 58 Mutex::Autolock lock(mLock);
69 Mutex::Autolock lock(mLock);
83 Mutex::Autolock lock(mLock);
94 Mutex::Autolock lock(mLock);
109 Mutex::Autolock lock(mLock);
123 Mutex::Autolock lock(mLock);
134 Mutex::Autolock lock(mLock);
145 Mutex::Autolock lock(mLock);
156 Mutex::Autolock lock(mLock);
167 Mutex::Autolock lock(mLock)
    [all...]
  /external/deqp/framework/delibs/dethread/
deThreadTest.c 176 deMutex mutex = *((deMutex*)arg); local
178 deMutex_lock(mutex);
179 deMutex_unlock(mutex);
184 deMutex mutex; member in struct:MutexData2_s
198 deMutex_lock(data->mutex);
202 deMutex_unlock(data->mutex);
213 deMutex_unlock(data->mutex);
218 deMutex_lock(data->mutex);
220 deMutex_unlock(data->mutex);
225 deMutex mutex = *((deMutex*)arg) local
236 deMutex mutex = deMutex_create(DE_NULL); local
254 deMutex mutex; local
276 deMutex mutex; local
338 deMutex mutex = deMutex_create(DE_NULL); local
    [all...]
  /external/ImageMagick/Magick++/lib/Magick++/
Thread.h 26 // Mutex lock wrapper
37 // Lock mutex
40 // Unlock mutex
  /external/compiler-rt/test/tsan/
mutex_bad_read_lock.cc 11 // CHECK: WARNING: ThreadSanitizer: read lock of a write locked mutex
15 // CHECK: Mutex {{.*}}) created at:
18 // CHECK: SUMMARY: ThreadSanitizer: read lock of a write locked mutex
mutex_bad_read_unlock.cc 12 // CHECK: WARNING: ThreadSanitizer: read unlock of a write locked mutex
16 // CHECK: Mutex {{.*}}) created at:
19 // CHECK: SUMMARY: ThreadSanitizer: read unlock of a write locked mutex
mutex_bad_unlock.cc 10 // CHECK: WARNING: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread)
14 // CHECK: Mutex {{.*}} created at:
17 // CHECK: SUMMARY: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread)
mutex_double_lock.cc 21 // CHECK: WARNING: ThreadSanitizer: double lock of a mutex
25 // CHECK: Mutex {{.*}} created at:
28 // CHECK: SUMMARY: ThreadSanitizer: double lock of a mutex {{.*}}mutex_double_lock.cc{{.*}}ThreadFunc

Completed in 596 milliseconds

<<11121314151617181920>>