/external/chromium/third_party/icu/source/common/ |
mutex.h | 10 // File: mutex.h 12 // Lightweight C++ wrapper for umtx_ C mutex functions 31 // should instantiate a Mutex object while doing so. You should make your own 32 // private mutex where possible. 49 // Mutex mutex(&myMutex); // or no args for the global lock 51 // // When 'mutex' goes out of scope and gets destroyed here, the lock is released 54 // Note: Do NOT use the form 'Mutex mutex();' as that merely forward-declares a function 55 // returning a Mutex. This is a common mistake which silently slips through th [all...] |
/external/icu4c/common/ |
mutex.h | 10 // File: mutex.h 12 // Lightweight C++ wrapper for umtx_ C mutex functions 31 // should instantiate a Mutex object while doing so. You should make your own 32 // private mutex where possible. 41 // Mutex mutex(&myMutex); // or no args for the global lock 43 // // When 'mutex' goes out of scope and gets destroyed here, the lock is released 46 // Note: Do NOT use the form 'Mutex mutex();' as that merely forward-declares a function 47 // returning a Mutex. This is a common mistake which silently slips through th [all...] |
/external/webkit/JavaScriptCore/wtf/ |
ThreadingNone.cpp | 45 Mutex::Mutex() { } 46 Mutex::~Mutex() { } 47 void Mutex::lock() { } 48 bool Mutex::tryLock() { return false; } 49 void Mutex::unlock() { } 53 void ThreadCondition::wait(Mutex&) { } 54 bool ThreadCondition::timedWait(Mutex&, double) { return false; }
|
ThreadingPthreads.cpp | 58 static Mutex* atomicallyInitializedStaticMutex; 66 static Mutex& threadMapMutex() 68 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); 69 return mutex; 75 atomicallyInitializedStaticMutex = new Mutex; 252 Mutex::Mutex() 257 Mutex::~Mutex() [all...] |
ThreadingWin.cpp | 135 static Mutex* atomicallyInitializedStaticMutex; 150 static Mutex& threadMapMutex() 152 static Mutex mutex; local 153 return mutex; 159 atomicallyInitializedStaticMutex = new Mutex; 283 Mutex::Mutex() 289 Mutex::~Mutex() [all...] |
Threading.h | 170 class Mutex : public Noncopyable { 172 Mutex(); 173 ~Mutex(); 185 typedef Locker<Mutex> MutexLocker; 209 void wait(Mutex& mutex); 212 bool timedWait(Mutex&, double absoluteTime); 306 mutable Mutex m_mutex; 333 using WTF::Mutex;
|
/external/chromium/sdch/open-vcdiff/src/ |
mutex.h | 33 // A simple mutex wrapper, supporting locks and read-write locks. 67 // function that tries to acquire this mutex -- but that all happens 68 // before this mutex's constructor has run. (This can happen even if 69 // the mutex and the function that uses the mutex are in the same .cc 70 // file.) Basically, because Mutex does non-trivial work in its 74 // The solution used here is to pair the actual mutex primitive with a 75 // bool that is set to true when the mutex is dynamically initialized. 76 // (Before that it's false.) Then we modify all mutex routines to 78 // it to true (which happens after the Mutex constructor has run. [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
compat.cpp | 133 Mutex::Mutex() {} // ?OP? 135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP?
|
compat.h | 54 class Mutex { 56 Mutex(); 59 DISALLOW_EVIL_CONSTRUCTORS(Mutex); 64 MutexLock(Mutex *); 181 register_lock_ = new Mutex; 185 static Mutex* register_lock_; // multithreading lock 195 Mutex *FlagRegister<T>::register_lock_ = 0;
|
/external/protobuf/src/google/protobuf/stubs/ |
common.cc | 126 static Mutex* log_silencer_count_mutex_ = NULL; 134 log_silencer_count_mutex_ = new Mutex; 239 // emulates google3/base/mutex.cc 243 struct Mutex::Internal { 244 CRITICAL_SECTION mutex; member in struct:google::protobuf::Mutex::Internal 251 Mutex::Mutex() 253 InitializeCriticalSection(&mInternal->mutex); 256 Mutex::~Mutex() { 284 pthread_mutex_t mutex; member in struct:google::protobuf::Mutex::Internal [all...] |
common.h | [all...] |
/external/webkit/JavaScriptCore/wtf/gtk/ |
ThreadingGtk.cpp | 45 static Mutex* atomicallyInitializedStaticMutex; 49 static Mutex& threadMapMutex() 51 static Mutex mutex; local 52 return mutex; 62 atomicallyInitializedStaticMutex = new Mutex; 176 Mutex::Mutex() 181 Mutex::~Mutex() [all...] |
/external/webkit/JavaScriptCore/wtf/qt/ |
ThreadingQt.cpp | 85 static Mutex* atomicallyInitializedStaticMutex; 89 static Mutex& threadMapMutex() 91 static Mutex mutex; local 92 return mutex; 146 atomicallyInitializedStaticMutex = new Mutex; 223 Mutex::Mutex() 228 Mutex::~Mutex() [all...] |
/external/v8/src/ |
platform.h | 42 // sensitive like mutex locking/unlocking. 222 // Factory method for creating platform dependent Mutex. 223 // Please use delete to reclaim the storage for the returned Mutex. 224 static Mutex* CreateMutex(); 396 // Mutex 399 // The implementations of mutex should allow for nested/recursive locking. 401 class Mutex { 403 virtual ~Mutex() {} 405 // Locks the given mutex. If the mutex is currently unlocked, it become [all...] |
/frameworks/base/include/utils/ |
threads.h | 204 * Simple mutex class. The implementation is system-dependent. 206 * The mutex must be unlocked by the thread that locked it. They are not 209 class Mutex { 216 Mutex(); 217 Mutex(const char* name); 218 Mutex(int type, const char* name = NULL); 219 ~Mutex(); 221 // lock or unlock the mutex 228 // Manages the mutex automatically. It'll be locked when Autolock is 232 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-port.h | 86 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 425 // A dummy implementation of synchronization primitives (mutex, lock, 427 // mutex is not supported - using Google Test in multiple threads is not 430 class Mutex { 432 Mutex() {} 433 explicit Mutex(int /*unused*/) {} 443 explicit GTestMutexLock(Mutex*) {} // NOLINT
|
/external/gtest/include/gtest/internal/ |
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/protobuf/gtest/include/gtest/internal/ |
gtest-port.h | 115 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 743 // A dummy implementation of synchronization primitives (mutex, lock, 745 // mutex is not supported - using Google Test in multiple threads is not 748 class Mutex { 750 Mutex() {} 751 explicit Mutex(int /*unused*/) {} 761 explicit GTestMutexLock(Mutex*) {} // NOLINT [all...] |
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
AbstractQueuedLongSynchronizerTest.java | 24 * A simple mutex class, adapted from the 31 static class Mutex extends AbstractQueuedLongSynchronizer { 74 final Mutex sync; 75 InterruptibleSyncRunnable(Mutex l) { sync = l; } 87 final Mutex sync; 88 InterruptedSyncRunnable(Mutex l) { sync = l; } 98 Mutex rl = new Mutex(); 106 Mutex rl = new Mutex(); [all...] |
AbstractQueuedSynchronizerTest.java | 24 * A simple mutex class, adapted from the 31 static class Mutex extends AbstractQueuedSynchronizer { 71 final Mutex sync; 72 InterruptibleSyncRunnable(Mutex l) { sync = l; } 84 final Mutex sync; 85 InterruptedSyncRunnable(Mutex l) { sync = l; } 95 Mutex rl = new Mutex(); 103 Mutex rl = new Mutex(); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/ |
AacEncTest.c | 173 pthread_cond_t cond; /* conditional mutex */ 174 pthread_mutex_t Mymutex; /* Mutex */ 175 }Mutex; 238 /* New instance of Mutex Structure */ 239 Mutex WaitForStateMutex={OMX_TRUE,PTHREAD_COND_INITIALIZER,PTHREAD_MUTEX_INITIALIZER}; 241 /* Flags for mutex control */ 369 APP_DPRINT("App: Mutex signal sent \n"); [all...] |
/prebuilt/common/netbeans-visual/ |
org-openide-util.jar | |