/external/icu4c/common/ |
H A D | mutex.h | 31 // should instantiate a Mutex object while doing so. You should make your own 41 // Mutex mutex(&myMutex); // or no args for the global lock 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 the 51 class U_COMMON_API Mutex : public UMemory { class in inherits:UMemory 53 inline Mutex(UMTX *mutex = NULL); 54 inline ~Mutex(); 59 Mutex(const Mutex &other); // forbid copying of this class 60 Mutex 63 inline Mutex::Mutex(UMTX *mutex) function in class:Mutex [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | ThreadingNone.cpp | 45 Mutex::Mutex() { } function in class:WTF::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; }
|
H A D | ThreadingPrimitives.h | 100 class Mutex { class in namespace:WTF 101 WTF_MAKE_NONCOPYABLE(Mutex); WTF_MAKE_FAST_ALLOCATED; 103 Mutex(); 104 ~Mutex(); 116 typedef Locker<Mutex> MutexLocker; 142 void wait(Mutex& mutex); 145 bool timedWait(Mutex&, double absoluteTime); 161 using WTF::Mutex;
|
H A D | ThreadingPthreads.cpp | 66 static Mutex* atomicallyInitializedStaticMutex; 70 static Mutex& threadMapMutex() 72 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); 81 atomicallyInitializedStaticMutex = new Mutex; 251 Mutex::Mutex() function in class:WTF::Mutex 262 Mutex::~Mutex() 267 void Mutex::lock() 273 bool Mutex [all...] |
H A D | ThreadingWin.cpp | 139 static Mutex* atomicallyInitializedStaticMutex; 152 static Mutex& threadMapMutex() 154 static Mutex mutex; 163 atomicallyInitializedStaticMutex = new Mutex; 277 Mutex::Mutex() function in class:WTF::Mutex 283 Mutex::~Mutex() 288 void Mutex::lock() 294 bool Mutex [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
H A D | mutex.h | 70 // file.) Basically, because Mutex does non-trivial work in its 78 // it to true (which happens after the Mutex constructor has run.) 135 class Mutex { class 137 // Create a Mutex that is not held by anybody. This constructor is 139 // See below for a recommendation for constructing global Mutex 141 inline Mutex(); 144 inline ~Mutex(); 156 inline void ReaderUnlock(); // Release a read share of this Mutex 169 // Catch the error of writing Mutex when intending MutexLock. 170 Mutex(Mute function in class:Mutex 190 Mutex::Mutex() : mutex_(0) { } function in class:Mutex 202 Mutex::Mutex() { InitializeCriticalSection(&mutex_); SetIsSafe(); } function in class:Mutex 220 Mutex::Mutex() { function in class:Mutex 243 Mutex::Mutex() { function in class:Mutex [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Mutex.h | 1 //===- llvm/Support/Mutex.h - Mutex Operating System Concept -----*- C++ -*-===// 10 // This file declares the llvm::sys::Mutex class. 24 /// @brief Platform agnostic Mutex class. 133 /// Mutex - A standard, always enforced mutex. 134 typedef SmartMutex<false> Mutex; typedef in namespace:llvm::sys
|
/external/valgrind/main/drd/tests/ |
H A D | annotate_smart_pointer.cpp | 58 class Mutex class 61 Mutex() : m_mutex() function in class:Mutex 63 ~Mutex() 119 class Mutex class 122 Mutex() : m_mutex() function in class:Mutex 124 ~Mutex() 293 mutable Mutex m_mutex;
|
H A D | tsan_thread_wrappers_pthread.h | 158 /// Just a boolean condition. Used by Mutex::LockWhen and similar. 189 class Mutex { class 192 Mutex() { function in class:Mutex 196 // Mutex more friendly to hybrid detectors. 198 ~Mutex() { 261 class MutexLock { // Scoped Mutex Locker/Unlocker 263 MutexLock(Mutex *mu) 271 Mutex *mu_; 280 void Wait(Mutex *mu) { CHECK(0 == pthread_cond_wait(&cv_, &mu->mu_)); } 281 bool WaitWithTimeout(Mutex *m [all...] |
/external/webkit/Source/JavaScriptCore/wtf/gtk/ |
H A D | ThreadingGtk.cpp | 48 static Mutex* atomicallyInitializedStaticMutex; 50 static Mutex& threadMapMutex() 52 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); 63 atomicallyInitializedStaticMutex = new Mutex; 175 Mutex::Mutex() function in class:WTF::Mutex 180 Mutex::~Mutex() 184 void Mutex::lock() 189 bool Mutex [all...] |
/external/webkit/Source/JavaScriptCore/wtf/qt/ |
H A D | ThreadingQt.cpp | 85 static Mutex* atomicallyInitializedStaticMutex; 87 static Mutex& threadMapMutex() 89 static Mutex mutex; 144 atomicallyInitializedStaticMutex = new Mutex; 216 Mutex::Mutex() function in class:WTF::Mutex 221 Mutex::~Mutex() 226 void Mutex::lock() 231 bool Mutex [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | compat.cpp | 133 Mutex::Mutex() {} // ?OP? function in class:Mutex 135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP?
|
H A D | compat.h | 54 class Mutex { class 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/ |
H A D | common.cc | 126 static Mutex* log_silencer_count_mutex_ = NULL; 134 log_silencer_count_mutex_ = new Mutex; 243 struct Mutex::Internal { 251 Mutex::Mutex() function in class:google::protobuf::Mutex 256 Mutex::~Mutex() { 261 void Mutex::Lock() { 268 void Mutex::Unlock() { 275 void Mutex 287 Mutex::Mutex() function in class:google::protobuf::Mutex [all...] |
H A D | common.h | 1043 // A Mutex is a non-reentrant (aka non-recursive) mutex. At most one thread T 1044 // may hold a mutex at a given time. If T attempts to Lock() the same Mutex 1046 class LIBPROTOBUF_EXPORT Mutex { class in namespace:google::protobuf::internal 1048 // Create a Mutex that is not held by anybody. 1049 Mutex(); 1052 ~Mutex(); 1054 // Block if necessary until this Mutex is free, then acquire it exclusively. 1057 // Release this Mutex. Caller must hold it exclusively. 1060 // Crash if this Mutex is not held exclusively by this thread. 1068 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Mutex); [all...] |
/external/valgrind/unittest/ |
H A D | thread_wrappers_win.h | 79 class Mutex { class 82 Mutex() { ::InitializeCriticalSection(&cs_); } function in class:Mutex 83 ~Mutex() { ::DeleteCriticalSection(&cs_); } 154 void Wait(Mutex *mu) { 163 bool WaitWithTimeout(Mutex *mu, int millis) {
|
H A D | thread_wrappers_pthread.h | 148 class Mutex { class 151 Mutex() { function in class:Mutex 156 ~Mutex() { 222 void Wait(Mutex *mu) { CHECK(0 == pthread_cond_wait(&cv_, &mu->mu_)); } 223 bool WaitWithTimeout(Mutex *mu, int millis) { 237 // ReaderLock method of Mutex to be the real rw-lock.
|
/external/v8/src/ |
H A D | platform.h | 129 class Mutex; 242 // Factory method for creating platform dependent Mutex. 243 // Please use delete to reclaim the storage for the returned Mutex. 244 static Mutex* CreateMutex(); 455 // Mutex 460 class Mutex { class in namespace:v8::internal 462 virtual ~Mutex() {} 487 explicit ScopedLock(Mutex* mutex): mutex_(mutex) { 496 Mutex* mutex_;
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
H A D | gtest-port.h | 86 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 430 class Mutex { class in namespace:testing::internal 432 Mutex() {} function in class:testing::internal::Mutex 433 explicit Mutex(int /*unused*/) {} function in class:testing::internal::Mutex 443 explicit GTestMutexLock(Mutex*) {} // NOLINT
|
/external/clang/lib/Analysis/ |
H A D | ThreadSafety.cpp | 145 /// class C { Mutex Mu; void lock() EXCLUSIVE_LOCK_FUNCTION(this->Mu); }; 325 void removeLock(SourceLocation UnlockLoc, MutexID &Mutex); 326 void addLock(SourceLocation LockLoc, MutexID &Mutex, LockKind LK); 382 void BuildLockset::addLock(SourceLocation LockLoc, MutexID &Mutex, argument 389 if (locksetContains(Mutex)) 390 Handler.handleDoubleLock(Mutex.getName(), LockLoc); 391 LSet = LocksetFactory.add(LSet, Mutex, NewLock); 397 void BuildLockset::removeLock(SourceLocation UnlockLoc, MutexID &Mutex) { argument 398 Lockset NewLSet = LocksetFactory.remove(LSet, Mutex); 400 Handler.handleUnmatchedUnlock(Mutex 683 const MutexID &Mutex = I.getKey(); local [all...] |
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 134 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1169 // MutexBase and Mutex implement mutex on pthreads-based platforms. They 1172 // Mutex mutex; 1187 // To create a dynamic mutex, just define an object of type Mutex. 1230 // The Mutex class can only be used for mutexes created at runtime. It 1232 class Mutex : public MutexBase { class in namespace:testing::internal 1234 Mutex() { function in class:testing::internal::Mutex 1238 ~Mutex() { 1243 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex); 1383 class Mutex { class in namespace:testing::internal 1385 Mutex() {} function in class:testing::internal::Mutex [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 136 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1190 // MutexBase and Mutex implement mutex on pthreads-based platforms. They 1193 // Mutex mutex; 1208 // To create a dynamic mutex, just define an object of type Mutex. 1251 // The Mutex class can only be used for mutexes created at runtime. It 1253 class Mutex : public MutexBase { class in namespace:testing::internal 1255 Mutex() { function in class:testing::internal::Mutex 1259 ~Mutex() { 1264 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex); 1404 class Mutex { class in namespace:testing::internal 1406 Mutex() {} function in class:testing::internal::Mutex [all...] |
/external/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 407 void *Mutex; // a llvm::sys::MutexImpl in debug; member in class:clang::ASTUnit::ConcurrencyState
|
/external/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 106 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 641 class Mutex { class in namespace:testing::internal 643 Mutex() {} function in class:testing::internal::Mutex 644 explicit Mutex(int /*unused*/) {} function in class:testing::internal::Mutex 654 explicit GTestMutexLock(Mutex*) {} // NOLINT
|
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 115 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 748 class Mutex { class in namespace:testing::internal 750 Mutex() {} function in class:testing::internal::Mutex 751 explicit Mutex(int /*unused*/) {} function in class:testing::internal::Mutex 761 explicit GTestMutexLock(Mutex*) {} // NOLINT
|