Home
last modified time | relevance | path

Searched refs:m_mutex (Results 1 – 22 of 22) sorted by relevance

/external/valgrind/main/drd/tests/
Dannotate_smart_pointer.cpp61 Mutex() : m_mutex() in Mutex()
62 { InitializeCriticalSection(&m_mutex); } in Mutex()
64 { DeleteCriticalSection(&m_mutex); } in ~Mutex()
66 { EnterCriticalSection(&m_mutex); } in Lock()
68 { LeaveCriticalSection(&m_mutex); } in Unlock()
71 CRITICAL_SECTION m_mutex; member in Mutex
122 Mutex() : m_mutex() in Mutex()
123 { pthread_mutex_init(&m_mutex, NULL); } in Mutex()
125 { pthread_mutex_destroy(&m_mutex); } in ~Mutex()
127 { pthread_mutex_lock(&m_mutex); } in Lock()
[all …]
Dmonitor_example.cpp77 : m_mutex() in Monitor()
85 pthread_mutex_init(&m_mutex, &mutexattr); in Monitor()
99 pthread_mutex_destroy(&m_mutex); in ~Monitor()
103 pthread_mutex_lock(&m_mutex); in lock()
114 pthread_mutex_unlock(&m_mutex); in unlock()
121 pthread_cond_wait(&m_cond, &m_mutex); in wait()
138 pthread_mutex_lock(&m_mutex); in is_locked_by_self()
140 pthread_mutex_unlock(&m_mutex); in is_locked_by_self()
148 pthread_mutex_t m_mutex; member in Monitor
Dpth_broadcast.c21 pthread_mutex_t m_mutex; member
29 pthread_mutex_init(&p->m_mutex, 0); in csema_ctr()
36 pthread_mutex_destroy(&p->m_mutex); in csema_dtr()
41 pthread_mutex_lock(&p->m_mutex); in csema_p()
43 pthread_cond_wait(&p->m_cond, &p->m_mutex); in csema_p()
46 pthread_mutex_unlock(&p->m_mutex); in csema_p()
51 pthread_mutex_lock(&p->m_mutex); in csema_v()
54 pthread_mutex_unlock(&p->m_mutex); in csema_v()
/external/chromium_org/third_party/WebKit/Source/wtf/
DMessageQueue.h84 mutable Mutex m_mutex; variable
99 MutexLocker lock(m_mutex); in append()
108 MutexLocker lock(m_mutex); in appendAndKill()
118 MutexLocker lock(m_mutex); in appendAndCheckEmpty()
128 MutexLocker lock(m_mutex); in prepend()
146 MutexLocker lock(m_mutex); in waitForMessageFilteredWithTimeout()
151 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in waitForMessageFilteredWithTimeout()
175 MutexLocker lock(m_mutex); in tryGetMessage()
187 MutexLocker lock(m_mutex); in tryGetMessageIgnoringKilled()
198 MutexLocker lock(m_mutex); in removeIf()
[all …]
DThreadingWin.cpp269 m_mutex.m_recursionCount = 0; in Mutex()
270 InitializeCriticalSection(&m_mutex.m_internalMutex); in Mutex()
275 DeleteCriticalSection(&m_mutex.m_internalMutex); in ~Mutex()
280 EnterCriticalSection(&m_mutex.m_internalMutex); in lock()
281 ++m_mutex.m_recursionCount; in lock()
292 DWORD result = TryEnterCriticalSection(&m_mutex.m_internalMutex); in tryLock()
298 if (m_mutex.m_recursionCount > 0) { in tryLock()
299 LeaveCriticalSection(&m_mutex.m_internalMutex); in tryLock()
303 ++m_mutex.m_recursionCount; in tryLock()
312 ASSERT(m_mutex.m_recursionCount); in unlock()
[all …]
DThreadingPrimitives.h85 PlatformMutex& impl() { return m_mutex; } in impl()
87 PlatformMutex m_mutex;
95 MutexTryLocker(Mutex& mutex) : m_mutex(mutex), m_locked(mutex.tryLock()) { } in MutexTryLocker()
99 m_mutex.unlock(); in ~MutexTryLocker()
105 Mutex& m_mutex;
DInstanceCounter.cpp73 Mutex m_mutex; member in WTF::InstanceCounter
96 MutexLocker locker(m_mutex); in incrementInstanceCount()
104 MutexLocker locker(m_mutex); in decrementInstanceCount()
115 MutexLocker locker(m_mutex); in dump()
DThreadingPthreads.cpp300 int result = pthread_mutex_init(&m_mutex, &attr); in Mutex()
308 int result = pthread_mutex_destroy(&m_mutex); in ~Mutex()
314 int result = pthread_mutex_lock(&m_mutex); in lock()
320 int result = pthread_mutex_trylock(&m_mutex); in tryLock()
333 int result = pthread_mutex_unlock(&m_mutex); in unlock()
DCryptographicallyRandomNumber.cpp73 Mutex m_mutex; member in WTF::__anon5d7e792f0111::ARC4RandomNumberGenerator
145 MutexLocker locker(m_mutex); in randomNumber()
154 MutexLocker locker(m_mutex); in randomValues()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImageDecodingStore.cpp96 MutexLocker lock(m_mutex); in lockCache()
109 MutexLocker lock(m_mutex); in unlockCache()
141 MutexLocker lock(m_mutex); in insertAndLockCache()
168 MutexLocker lock(m_mutex); in lockDecoder()
184 MutexLocker lock(m_mutex); in unlockDecoder()
203 MutexLocker lock(m_mutex); in insertDecoder()
212 MutexLocker lock(m_mutex); in removeDecoder()
232 MutexLocker lock(m_mutex); in isCached()
243 MutexLocker lock(m_mutex); in removeCacheIndexedByGenerator()
259 MutexLocker lock(m_mutex); in clear()
[all …]
DThreadSafeDataTransport.cpp55 MutexLocker locker(m_mutex); in setData()
64 MutexLocker lock(m_mutex); in data()
77 MutexLocker lock(m_mutex); in hasNewData()
DThreadSafeDataTransport.h63 Mutex m_mutex;
DDiscardablePixelRef.h66 OwnPtr<SkMutex> m_mutex; variable
DDiscardablePixelRef.cpp74 , m_mutex(mutex) in DiscardablePixelRef()
DImageDecodingStore.h326 Mutex m_mutex; variable
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DTraceEventDispatcher.cpp50 MutexLocker locker(self->m_mutex); in dispatchEventOnAnyThread()
63 MutexLocker locker(m_mutex); in enqueueEvent()
83 MutexLocker locker(m_mutex); in processBackgroundEvents()
104 MutexLocker locker(m_mutex); in innerAddListener()
118 MutexLocker locker(m_mutex); in removeAllListeners()
DTraceEventDispatcher.h179 Mutex m_mutex; variable
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DSQLCallbackWrapper.h62 MutexLocker locker(m_mutex); in clear()
80 MutexLocker locker(m_mutex); in unwrap()
115 Mutex m_mutex; variable
/external/chromium_org/third_party/WebKit/Source/core/page/
DNetworkStateNotifier.h43 MutexLocker locker(m_mutex); in onLine()
50 mutable Mutex m_mutex;
DNetworkStateNotifier.cpp48 MutexLocker locker(m_mutex); in setOnLine()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsigslot.h267 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local()
272 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local()
277 pthread_mutex_destroy(&m_mutex); in ~multi_threaded_local()
282 pthread_mutex_lock(&m_mutex); in lock()
287 pthread_mutex_unlock(&m_mutex); in unlock()
291 pthread_mutex_t m_mutex;
299 mt_policy *m_mutex;
302 : m_mutex(mtx) in lock_block()
304 m_mutex->lock(); in lock_block()
309 m_mutex->unlock(); in ~lock_block()
/external/chromium/third_party/libjingle/source/talk/base/
Dsigslot.h254 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local()
259 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local()
264 pthread_mutex_destroy(&m_mutex); in ~multi_threaded_local()
269 pthread_mutex_lock(&m_mutex); in lock()
274 pthread_mutex_unlock(&m_mutex); in unlock()
278 pthread_mutex_t m_mutex;
286 mt_policy *m_mutex;
289 : m_mutex(mtx) in lock_block()
291 m_mutex->lock(); in lock_block()
296 m_mutex->unlock(); in ~lock_block()