Searched defs:Mutex (Results 1 - 17 of 17) sorted by relevance

/external/chromium/third_party/icu/source/common/
H A Dmutex.h31 // should instantiate a Mutex object while doing so. You should make your own
49 // Mutex mutex(&myMutex); // or no args for the global lock
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 the
59 class U_COMMON_API Mutex : public UMemory { class in inherits:UMemory
61 inline Mutex(UMTX *mutex = NULL);
62 inline ~Mutex();
67 Mutex(const Mutex &other); // forbid copying of this class
68 Mutex
71 inline Mutex::Mutex(UMTX *mutex) function in class:Mutex
[all...]
/external/icu4c/common/
H A Dmutex.h31 // 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/JavaScriptCore/wtf/
H A DThreadingNone.cpp45 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 DThreadingPthreads.cpp58 static Mutex* atomicallyInitializedStaticMutex;
66 static Mutex& threadMapMutex()
68 DEFINE_STATIC_LOCAL(Mutex, mutex, ());
75 atomicallyInitializedStaticMutex = new Mutex;
252 Mutex::Mutex() function in class:WTF::Mutex
257 Mutex::~Mutex()
262 void Mutex::lock()
268 bool Mutex
[all...]
H A DThreading.h170 class Mutex : public Noncopyable { class in namespace:WTF
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;
H A DThreadingWin.cpp135 static Mutex* atomicallyInitializedStaticMutex;
150 static Mutex& threadMapMutex()
152 static Mutex mutex;
159 atomicallyInitializedStaticMutex = new Mutex;
283 Mutex::Mutex() function in class:WTF::Mutex
289 Mutex::~Mutex()
294 void Mutex::lock()
300 bool Mutex
[all...]
/external/chromium/sdch/open-vcdiff/src/
H A Dmutex.h70 // 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/webkit/JavaScriptCore/wtf/gtk/
H A DThreadingGtk.cpp45 static Mutex* atomicallyInitializedStaticMutex;
49 static Mutex& threadMapMutex()
51 static Mutex mutex;
62 atomicallyInitializedStaticMutex = new Mutex;
176 Mutex::Mutex() function in class:WTF::Mutex
181 Mutex::~Mutex()
185 void Mutex::lock()
190 bool Mutex
[all...]
/external/webkit/JavaScriptCore/wtf/qt/
H A DThreadingQt.cpp85 static Mutex* atomicallyInitializedStaticMutex;
89 static Mutex& threadMapMutex()
91 static Mutex mutex;
146 atomicallyInitializedStaticMutex = new Mutex;
223 Mutex::Mutex() function in class:WTF::Mutex
228 Mutex::~Mutex()
233 void Mutex::lock()
238 bool Mutex
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcompat.cpp133 Mutex::Mutex() {} // ?OP? function in class:Mutex
135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP?
H A Dcompat.h54 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 Dcommon.cc126 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 Dcommon.h1043 // 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/v8/src/
H A Dplatform.h222 // 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
401 class Mutex { class in namespace:v8::internal
403 virtual ~Mutex() {}
424 explicit ScopedLock(Mutex* mutex): mutex_(mutex) {
432 Mutex* mutex_;
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
H A Dgtest-port.h86 // 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/gtest/include/gtest/internal/
H A Dgtest-port.h106 // 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 Dgtest-port.h115 // 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

Completed in 189 milliseconds