HomeSort by relevance Sort by last modified time
    Searched refs:Mutex (Results 1 - 25 of 343) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
mutex.cpp 12 /* If UCONFIG_NO_SERVICE, then there is no invocation of Mutex elsewhere in
14 #include "mutex.h"
15 static Mutex *aMutex = 0;
  /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; }
MainThread.h 35 class Mutex;
52 Mutex& mainThreadFunctionQueueMutex();
dtoa.h 25 class Mutex;
30 extern WTF::Mutex* s_dtoaP5Mutex;
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.
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...]
  /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...]
  /frameworks/base/include/utils/
Singleton.h 32 Mutex::Autolock _l(sLock);
48 static Mutex sLock;
57 * NOTE: we use a version of Mutex ctor that takes a parameter, because
63 template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
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...]
  /frameworks/base/services/surfaceflinger/
Barrier.h 32 Mutex::Autolock _l(lock);
37 Mutex::Autolock _l(lock);
41 Mutex::Autolock _l(lock);
48 mutable Mutex lock;
  /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...]
  /frameworks/base/include/private/binder/
Static.h 31 extern Mutex gProcessMutex;
35 extern Mutex gDefaultServiceManagerLock;
  /frameworks/base/include/private/media/
AudioEffectShared.h 37 Mutex lock;
43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
  /frameworks/base/libs/binder/
Static.cpp 29 Mutex gProcessMutex;
49 Mutex gDefaultServiceManagerLock;
  /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...]
  /frameworks/base/media/libmediaplayerservice/
MediaRecorderClient.cpp 65 Mutex::Autolock lock(mLock);
76 Mutex::Autolock lock(mLock);
90 Mutex::Autolock lock(mLock);
104 Mutex::Autolock lock(mLock);
115 Mutex::Autolock lock(mLock);
126 Mutex::Autolock lock(mLock);
137 Mutex::Autolock lock(mLock);
148 Mutex::Autolock lock(mLock);
159 Mutex::Autolock lock(mLock);
170 Mutex::Autolock lock(mLock)
    [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/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...]
  /frameworks/base/media/libmedia/
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...]
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);
  /frameworks/base/opengl/libagl/
TokenManager.cpp 37 Mutex::Autolock _l(mLock);
45 Mutex::Autolock _l(mLock);
56 Mutex::Autolock _l(mLock);
  /frameworks/base/media/libstagefright/mpeg2ts/
AnotherPacketSource.cpp 55 Mutex::Autolock autoLock(mLock);
98 Mutex::Autolock autoLock(mLock);
107 Mutex::Autolock autoLock(mLock);
114 Mutex::Autolock autoLock(mLock);
122 Mutex::Autolock autoLock(mLock);
128 Mutex::Autolock autoLock(mLock);

Completed in 706 milliseconds

1 2 3 4 5 6 7 8 91011>>