/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_mutex.h | 50 /* Mutex functions */ 53 /* The SDL mutex structure, defined in SDL_mutex.c */ 57 /* Create a mutex, initialized unlocked */ 60 /* Lock the mutex (Returns 0, or -1 on error) */ 62 extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex); 64 /* Unlock the mutex (Returns 0, or -1 on error) 65 It is an error to unlock a mutex that has not been locked by 69 extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex); 71 /* Destroy a mutex */ 72 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex); [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_mutex.h | 50 /* Mutex functions */ 53 /* The SDL mutex structure, defined in SDL_mutex.c */ 57 /* Create a mutex, initialized unlocked */ 60 /* Lock the mutex (Returns 0, or -1 on error) */ 62 extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex); 64 /* Unlock the mutex (Returns 0, or -1 on error) 65 It is an error to unlock a mutex that has not been locked by 69 extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex); 71 /* Destroy a mutex */ 72 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex); [all...] |
/external/webkit/JavaScriptCore/wtf/ |
HashTable.cpp | 37 static Mutex& hashTableStatsMutex() 39 AtomicallyInitializedStatic(Mutex&, mutex = *new Mutex); 40 return mutex; 46 // if any thread was killed while holding the mutex.
|
/frameworks/base/media/libmedia/ |
IMediaDeathNotifier.cpp | 28 Mutex IMediaDeathNotifier::sServiceLock; 38 Mutex::Autolock _l(sServiceLock); 65 Mutex::Autolock _l(sServiceLock); 73 Mutex::Autolock _l(sServiceLock); 84 Mutex::Autolock _l(sServiceLock); 104 Mutex::Autolock _l(sServiceLock);
|
mediametadataretriever.cpp | 31 Mutex MediaMetadataRetriever::sServiceLock; 37 Mutex::Autolock lock(sServiceLock); 86 Mutex::Autolock _l(mLock); 98 Mutex::Autolock _l(mLock); 114 Mutex::Autolock _l(mLock); 129 Mutex::Autolock _l(mLock); 140 Mutex::Autolock _l(mLock); 151 Mutex::Autolock _l(mLock); 162 Mutex::Autolock _l(mLock); 173 Mutex::Autolock _l(mLock) [all...] |
/system/extras/tests/bionic/libc/common/ |
test_pthread_mutex.c | 110 /* perform a simple init/lock/unlock/destroy test on a mutex of given attributes */ 131 /* simple init/lock/unlock/destroy on all mutex types */ 260 * - main thread creates a mutex and locks it 264 * then unlock the mutex. 266 * - thread 1 locks() the mutex. It shall be stopped for a least 'waitDelay' 267 * seconds. It then unlocks the mutex. 269 * - thread 2 trylocks() the mutex. In case of failure (EBUSY), it waits 271 * it succeeds. It then unlocks the mutex. 276 * going to acquire the mutex first. 279 pthread_mutex_t mutex[1] member in struct:__anon13123 [all...] |
/bionic/libc/include/ |
pthread.h | 160 int pthread_mutex_init(pthread_mutex_t *mutex, 162 int pthread_mutex_destroy(pthread_mutex_t *mutex); 163 int pthread_mutex_lock(pthread_mutex_t *mutex); 164 int pthread_mutex_unlock(pthread_mutex_t *mutex); 165 int pthread_mutex_trylock(pthread_mutex_t *mutex); 166 int pthread_mutex_timedlock(pthread_mutex_t *mutex, struct timespec* ts); 178 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); 180 pthread_mutex_t * mutex, 188 pthread_mutex_t *mutex, 195 pthread_mutex_t *mutex, [all...] |
/ndk/build/platforms/android-5/arch-x86/usr/include/ |
pthread.h | 160 int pthread_mutex_init(pthread_mutex_t *mutex, 162 int pthread_mutex_destroy(pthread_mutex_t *mutex); 163 int pthread_mutex_lock(pthread_mutex_t *mutex); 164 int pthread_mutex_unlock(pthread_mutex_t *mutex); 165 int pthread_mutex_trylock(pthread_mutex_t *mutex); 166 int pthread_mutex_timedlock(pthread_mutex_t *mutex, struct timespec* ts); 173 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); 175 pthread_mutex_t * mutex, 183 pthread_mutex_t *mutex, 190 pthread_mutex_t *mutex, [all...] |
/ndk/build/platforms/android-8/arch-arm/usr/include/ |
pthread.h | 160 int pthread_mutex_init(pthread_mutex_t *mutex, 162 int pthread_mutex_destroy(pthread_mutex_t *mutex); 163 int pthread_mutex_lock(pthread_mutex_t *mutex); 164 int pthread_mutex_unlock(pthread_mutex_t *mutex); 165 int pthread_mutex_trylock(pthread_mutex_t *mutex); 166 int pthread_mutex_timedlock(pthread_mutex_t *mutex, struct timespec* ts); 178 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); 180 pthread_mutex_t * mutex, 188 pthread_mutex_t *mutex, 195 pthread_mutex_t *mutex, [all...] |
/ndk/build/platforms/android-8/arch-x86/usr/include/ |
pthread.h | 160 int pthread_mutex_init(pthread_mutex_t *mutex, 162 int pthread_mutex_destroy(pthread_mutex_t *mutex); 163 int pthread_mutex_lock(pthread_mutex_t *mutex); 164 int pthread_mutex_unlock(pthread_mutex_t *mutex); 165 int pthread_mutex_trylock(pthread_mutex_t *mutex); 166 int pthread_mutex_timedlock(pthread_mutex_t *mutex, struct timespec* ts); 178 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); 180 pthread_mutex_t * mutex, 188 pthread_mutex_t *mutex, 195 pthread_mutex_t *mutex, [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_mutex.h | 55 /* Mutex functions */ 58 /* The SDL mutex structure, defined in SDL_mutex.c */ 62 /* Create a mutex, initialized unlocked */ 65 /* Lock the mutex (Returns 0, or -1 on error) */ 67 extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex); 69 /* Unlock the mutex (Returns 0, or -1 on error) 70 It is an error to unlock a mutex that has not been locked by 74 extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex); 76 /* Destroy a mutex */ 77 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex); [all...] |
/external/kernel-headers/original/asm-generic/ |
mutex-xchg.h | 2 * asm-generic/mutex-xchg.h 4 * Generic implementation of the mutex fastpath, based on xchg(). 9 * asm-generic/mutex-dec.h instead, or you could open-code an 10 * optimized version in asm/mutex.h. 56 * __mutex_fastpath_unlock - try to promote the mutex from 0 to 1 60 * try to promote the mutex from 0 to 1. if it wasn't 0, call <function> 78 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting 103 * [ In the rare case of the mutex going to 1, to 0, to -1
|
/external/icu4c/common/ |
servnotf.cpp | 30 Mutex lmx(¬ifyLock); 48 Mutex lmx(¬ifyLock); 81 Mutex lmx(¬ifyLock); 104 Mutex lmx(¬ifyLock);
|
/external/qemu/audio/ |
audio_pt_int.h | 10 pthread_mutex_t mutex; member in struct:audio_pt
|
audio_pt_int.c | 28 err = pthread_mutex_init (&p->mutex, NULL); 55 err2 = pthread_mutex_destroy (&p->mutex); 75 err = pthread_mutex_destroy (&p->mutex); 87 err = pthread_mutex_lock (&p->mutex); 99 err = pthread_mutex_unlock (&p->mutex); 111 err = pthread_cond_wait (&p->cond, &p->mutex); 123 err = pthread_mutex_unlock (&p->mutex);
|
/external/opencore/baselibs/gen_data_structures/src/ |
linked_list.h | 386 // the LinkedList. It has mutex protection to 414 mutex.Lock(); 416 mutex.Unlock(); 423 PVMutex mutex; member in class:MTLinkedList 433 mutex.Lock(); 435 mutex.Unlock(); 442 mutex.Lock(); 444 mutex.Unlock(); 453 mutex.Lock(); 455 mutex.Unlock() [all...] |
/external/webkit/WebKit/win/WebKit.vcproj/ |
WebKit.def | 113 ??0Mutex@WTF@@QAE@XZ 115 ??1Mutex@WTF@@QAE@XZ 125 ?lock@Mutex@WTF@@QAEXXZ 131 ?tryLock@Mutex@WTF@@QAE_NXZ 132 ?unlock@Mutex@WTF@@QAEXXZ
|
WebKit_Cairo.def | 114 ??0Mutex@WTF@@QAE@XZ 116 ??1Mutex@WTF@@QAE@XZ 126 ?lock@Mutex@WTF@@QAEXXZ 132 ?tryLock@Mutex@WTF@@QAE_NXZ 133 ?unlock@Mutex@WTF@@QAEXXZ
|
WebKit_Cairo_debug.def | 114 ??0Mutex@WTF@@QAE@XZ 116 ??1Mutex@WTF@@QAE@XZ 126 ?lock@Mutex@WTF@@QAEXXZ 132 ?tryLock@Mutex@WTF@@QAE_NXZ 133 ?unlock@Mutex@WTF@@QAEXXZ
|
WebKit_debug.def | 113 ??0Mutex@WTF@@QAE@XZ 115 ??1Mutex@WTF@@QAE@XZ 125 ?lock@Mutex@WTF@@QAEXXZ 131 ?tryLock@Mutex@WTF@@QAE_NXZ 132 ?unlock@Mutex@WTF@@QAEXXZ
|
/external/qemu/distrib/sdl-1.2.12/src/thread/dc/ |
SDL_syscond.c | 138 The mutex must be locked before entering this function! 139 The mutex is unlocked during the wait, and locked again after the wait. 157 int SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) 166 /* Obtain the protection mutex, and increment the number of waiters. 174 /* Unlock the mutex, as is required by condition variable semantics */ 175 SDL_UnlockMutex(mutex); 186 if we are stopped between the mutex unlock and semaphore wait, 205 /* Lock the mutex, as is required by condition variable semantics */ 206 SDL_LockMutex(mutex); 212 int SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/generic/ |
SDL_syscond.c | 138 The mutex must be locked before entering this function! 139 The mutex is unlocked during the wait, and locked again after the wait. 157 int SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) 166 /* Obtain the protection mutex, and increment the number of waiters. 174 /* Unlock the mutex, as is required by condition variable semantics */ 175 SDL_UnlockMutex(mutex); 186 if we are stopped between the mutex unlock and semaphore wait, 205 /* Lock the mutex, as is required by condition variable semantics */ 206 SDL_LockMutex(mutex); 212 int SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/os2/ |
SDL_syscond.c | 138 The mutex must be locked before entering this function! 139 The mutex is unlocked during the wait, and locked again after the wait. 157 DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) 166 /* Obtain the protection mutex, and increment the number of waiters. 174 /* Unlock the mutex, as is required by condition variable semantics */ 175 SDL_UnlockMutex(mutex); 186 if we are stopped between the mutex unlock and semaphore wait, 205 /* Lock the mutex, as is required by condition variable semantics */ 206 SDL_LockMutex(mutex); 212 DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) [all...] |
/external/webkit/JavaScriptCore/wtf/unicode/icu/ |
CollatorICU.cpp | 47 static Mutex& cachedCollatorMutex() 49 AtomicallyInitializedStatic(Mutex&, mutex = *new Mutex); 50 return mutex; 107 Locker<Mutex> lock(cachedCollatorMutex()); 140 Locker<Mutex> lock(cachedCollatorMutex());
|
/external/bluetooth/glib/gthread/ |
gthread-win32.c | 109 g_mutex_free_win32_cs_impl (GMutex *mutex) 111 gpointer *ptr = (gpointer *) mutex; 116 g_free (mutex); 123 g_mutex_lock_win32_cs_impl (GMutex *mutex) 125 EnterCriticalSection (*(CRITICAL_SECTION **)mutex); 129 g_mutex_trylock_win32_cs_impl (GMutex * mutex) 131 return try_enter_critical_section (*(CRITICAL_SECTION **)mutex); 135 g_mutex_unlock_win32_cs_impl (GMutex *mutex) 137 LeaveCriticalSection (*(CRITICAL_SECTION **)mutex); 152 g_mutex_free_win32_impl (GMutex *mutex) [all...] |