/bionic/libc/netbsd/net/ |
reentrant.h | 80 * The thread macros can be directly mapped to the mutex primitives from 81 * pthreads, however it should be reasonably easy to wrap another mutex
|
/external/gtest/include/gtest/internal/ |
gtest-linked_ptr.h | 80 extern Mutex g_linked_ptr_mutex; 102 // linked_ptr<Derived2>). Therefore we must use a single mutex to
|
gtest-port.h | 106 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 636 // A dummy implementation of synchronization primitives (mutex, lock, 638 // mutex is not supported - using Google Test in multiple threads is not 641 class Mutex { 643 Mutex() {} 644 explicit Mutex(int /*unused*/) {} 654 explicit GTestMutexLock(Mutex*) {} // NOLINT
|
/external/icu4c/i18n/ |
rbt.cpp | 249 // transliteration mutex. If so, do not lock the transliteration 250 // mutex again.
|
timezone.cpp | 31 * 05/04/99 stephen Changed initDefault() for Mutex issues 75 #include "mutex.h" 361 // computations first, then doing pointer copies within the mutex. 522 * Must be called OUTSIDE mutex. 535 // NOTE: Local mutex here. TimeZone mutex below 539 // happens while the ICU mutex is held. 542 // In order to prevent a double lock of a non-reentrant mutex in a 545 Mutex lock(&TZSET_LOCK); 625 Mutex lock(&LOCK); // In case adoptDefault is calle [all...] |
/external/quake/standalone/ |
main.cpp | 43 Lock(pthread_mutex_t& mutex) { 44 m_pMutex = &mutex;
|
/external/v8/src/ |
platform-nullos.cc | 359 class NullMutex : public Mutex { 384 Mutex* OS::CreateMutex() {
|
/external/webkit/WebCore/bindings/v8/ |
DOMDataStore.cpp | 111 WTF::Mutex& DOMDataStore::allStoresMutex() 113 DEFINE_STATIC_LOCAL(WTF::Mutex, staticDOMDataListMutex, ());
|
DOMDataStore.h | 258 // Mutex to protect against concurrent access of DOMDataList. 259 static WTF::Mutex& allStoresMutex();
|
/frameworks/base/libs/utils/ |
CallStack.cpp | 155 Mutex::Autolock _l(mLock); 175 Mutex mLock;
|
/frameworks/base/media/libstagefright/ |
MPEG4Extractor.cpp | 63 Mutex mLock; 111 Mutex mLock; 150 Mutex::Autolock autoLock(mLock); 170 Mutex::Autolock autoLock(mLock); [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
AudioHardware.h | 326 Mutex mA1026Lock; 345 Mutex mLock;
|
/system/core/libcutils/ |
mq.c | 136 * Acquire mutex before use. 144 pthread_mutex_t mutex; member in struct:__anon13052 158 /** Keeps track of recently dead peers. Requires mutex. */ 178 * Requires mutex. 256 pthread_mutex_lock(&peer->mutex); 261 pthread_mutex_unlock(&peer->mutex); 286 /** Adds a packet to the end of the queue. Callers must have the mutex. */ 1108 if (pthread_mutex_init(&peer->mutex, &attributes) != 0) { [all...] |
/external/sqlite/dist/ |
sqlite3.h | 172 ** This interface only reports on the compile-time mutex setting 657 ** CAPI3REF: Mutex Handle 659 ** The mutex module within SQLite defines [sqlite3_mutex] to be an 660 ** abstract type for a mutex object. The SQLite core never looks 695 ** or modify this field while holding a particular static mutex. [all...] |
sqlite3.h.orig | 172 ** This interface only reports on the compile-time mutex setting 657 ** CAPI3REF: Mutex Handle 659 ** The mutex module within SQLite defines [sqlite3_mutex] to be an 660 ** abstract type for a mutex object. The SQLite core never looks 695 ** or modify this field while holding a particular static mutex. [all...] |
/external/webkit/WebCore/storage/ |
Database.cpp | 88 static Mutex& guidMutex() 93 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); 94 return mutex; 107 // Ensure the the mutex is locked. 464 DEFINE_STATIC_LOCAL(Mutex, stringIdentifierMutex, ());
|
DatabaseTracker.cpp | 735 // Make sure not to hold the m_openDatabaseMapGuard mutex when calling 770 static Mutex& notificationMutex() 772 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); 773 return mutex;
|
/hardware/msm7k/librpc/ |
clnt.c | 34 time, and we use this mutex to enforce the rule. When we start 232 "grabbing mutex to wake up client.\n", 237 D("%08x:%08x got mutex, waking up client.\n", 649 // and another thread locks the mutex in clnt_call, and then we 652 // unlock the mutex here there can be a context switch to the other 653 // thread, which will cause it to obtain the mutex on the destroyed
|
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/ |
LCML_DspCodec.c | 176 pthread_mutex_init (&pHandle->mutex, NULL); [all...] |
/frameworks/base/libs/surfaceflinger/ |
SurfaceFlinger.cpp | 230 Mutex::Autolock _l(mStateLock); 250 Mutex::Autolock _l(mStateLock); 562 Mutex::Autolock _l(mStateLock); [all...] |
/hardware/ti/omap3/liboverlay/ |
overlay.cpp | 270 LOGE("Failed to initialize overlay mutex attr"); 273 LOGE("Failed to set the overlay mutex attr to be shared across-processes"); 276 LOGE("Failed to initialize overlay mutex\n"); 292 // Last side deallocated releases the mutex, otherwise the remaining 293 // side will deadlock trying to use an already released mutex 296 LOGE("Failed to uninitialize overlay mutex!\n"); 300 LOGE("Failed to uninitialize the overlay mutex attr!\n"); [all...] |
/external/bluetooth/glib/glib/ |
gmain.c | 99 GMutex *mutex; member in struct:_GMainWaiter 121 GStaticMutex mutex; member in struct:_GMainContext 208 #define LOCK_CONTEXT(context) g_static_mutex_lock (&context->mutex) 209 #define UNLOCK_CONTEXT(context) g_static_mutex_unlock (&context->mutex) 369 g_static_mutex_free (&context->mutex); 470 g_static_mutex_init (&context->mutex); [all...] |
/external/blktrace/ |
blktrace.c | 103 * 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) 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/ |
dbus-server.c | 120 _dbus_mutex_new_at_location (&server->mutex); 121 if (server->mutex == NULL) 139 _dbus_mutex_free_at_location (&server->mutex); 140 server->mutex = NULL; 186 _dbus_mutex_free_at_location (&server->mutex); [all...] |
/external/icu4c/common/ |
usprep.cpp | 198 umtx_destroy(&usprepMutex); /* Don't worry about destroying the mutex even */ 199 /* if the hash table still exists. The mutex */ 250 /* open the data outside the mutex block */ 268 /* in the mutex block, set the data for this process */ 432 /* initialize the mutex */
|