Home
last modified time | relevance | path

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

12

/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/webkit/Source/WebCore/bindings/generic/
DActiveDOMCallback.cpp75 MutexLocker locker(m_mutex); in contextDestroyed()
81 MutexLocker locker(m_mutex); in suspend()
86 MutexLocker locker(m_mutex); in resume()
91 MutexLocker locker(m_mutex); in stop()
96 MutexLocker locker(m_mutex); in canInvokeCallback()
101 MutexLocker locker(m_mutex); in scriptExecutionContext()
104 Mutex& mutex() { return m_mutex; } in mutex()
107 Mutex m_mutex; member in WebCore::ActiveDOMObjectCallbackImpl
/external/webkit/Source/JavaScriptCore/wtf/
DMessageQueue.h80 mutable Mutex m_mutex; variable
95 MutexLocker lock(m_mutex); in append()
104 MutexLocker lock(m_mutex); in appendAndCheckEmpty()
114 MutexLocker lock(m_mutex); in prepend()
132 MutexLocker lock(m_mutex); in waitForMessageFilteredWithTimeout()
137 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in waitForMessageFilteredWithTimeout()
161 MutexLocker lock(m_mutex); in tryGetMessage()
174 MutexLocker lock(m_mutex); in removeIf()
190 MutexLocker lock(m_mutex); in isEmpty()
199 MutexLocker lock(m_mutex); in kill()
[all …]
DThreadingWin.cpp279 m_mutex.m_recursionCount = 0; in Mutex()
280 InitializeCriticalSection(&m_mutex.m_internalMutex); in Mutex()
285 DeleteCriticalSection(&m_mutex.m_internalMutex); in ~Mutex()
290 EnterCriticalSection(&m_mutex.m_internalMutex); in lock()
291 ++m_mutex.m_recursionCount; in lock()
302 DWORD result = TryEnterCriticalSection(&m_mutex.m_internalMutex); in tryLock()
308 if (m_mutex.m_recursionCount > 0) { in tryLock()
309 LeaveCriticalSection(&m_mutex.m_internalMutex); in tryLock()
313 ++m_mutex.m_recursionCount; in tryLock()
322 --m_mutex.m_recursionCount; in unlock()
[all …]
DThreadSafeRefCounted.h84 MutexLocker locker(m_mutex); in ref()
97 MutexLocker locker(m_mutex); in refCount()
115 MutexLocker locker(m_mutex); in derefBase()
131 mutable Mutex m_mutex; variable
DThreadingPthreads.cpp257 pthread_mutex_init(&m_mutex, &attr); in Mutex()
264 pthread_mutex_destroy(&m_mutex); in ~Mutex()
269 int result = pthread_mutex_lock(&m_mutex); in lock()
275 int result = pthread_mutex_trylock(&m_mutex); in tryLock()
288 int result = pthread_mutex_unlock(&m_mutex); in unlock()
DCryptographicallyRandomNumber.cpp70 Mutex m_mutex; member in WTF::__anon15d327450111::ARC4RandomNumberGenerator
144 MutexLocker locker(m_mutex); in randomNumber()
155 MutexLocker locker(m_mutex); in randomValues()
DThreadingPrimitives.h111 PlatformMutex& impl() { return m_mutex; } in impl()
113 PlatformMutex m_mutex;
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCCompletionEvent.h36 m_mutex.lock(); in CCCompletionEvent()
41 m_mutex.unlock(); in ~CCCompletionEvent()
46 m_condition.wait(m_mutex); in wait()
51 MutexLocker lock(m_mutex); in signal()
56 Mutex m_mutex;
/external/webkit/Source/WebCore/dom/default/
DPlatformMessagePortChannel.cpp156 MutexLocker lock(m_mutex); in setRemotePort()
164 MutexLocker lock(m_mutex); in remotePort()
170 MutexLocker lock(m_mutex); in entangledChannel()
176 MutexLocker lock(m_mutex); in setEntangledChannel()
185 MutexLocker lock(m_mutex); in postMessageToRemote()
195 MutexLocker lock(m_mutex); in tryGetMessageFromRemote()
202 MutexLocker lock(m_mutex); in isConnectedTo()
218 MutexLocker lock(m_mutex); in closeInternal()
227 MutexLocker lock(m_mutex); in hasPendingActivity()
233 MutexLocker lock(m_mutex); in locallyEntangledPort()
/external/webkit/Source/WebKit/android/smoke/
DMessageThread.cpp48 AutoMutex lock(m_mutex); in hasMessages()
63 AutoMutex lock(m_mutex); in remove()
79 AutoMutex lock(m_mutex); in post()
96 AutoMutex lock(m_mutex); in postAtFront()
102 AutoMutex lock(m_mutex); in next()
106 m_condition.wait(m_mutex); in next()
113 m_condition.waitRelative(m_mutex, in next()
DMessageThread.h69 Mutex m_mutex; variable
96 Mutex m_mutex; variable
/external/webkit/Source/WebKit/chromium/src/
DPlatformMessagePortChannel.cpp159 MutexLocker lock(m_mutex); in messageAvailable()
166 MutexLocker lock(m_mutex); in entangleIfOpen()
173 MutexLocker lock(m_mutex); in disentangle()
223 MutexLocker lock(m_mutex); in close()
232 MutexLocker lock(m_mutex); in isConnectedTo()
238 MutexLocker lock(m_mutex); in hasPendingActivity()
247 MutexLocker lock(m_mutex); in setEntangledChannel()
DWebWorkerBase.cpp78 MutexLocker locker(m_mutex); in cancel()
90 MutexLocker locker(m_mutex); in signalCompleted()
117 Mutex m_mutex; member in WebKit::__anon1449932d0111::AllowDatabaseMainThreadBridge
DPlatformMessagePortChannel.h80 Mutex m_mutex; variable
/external/webkit/Source/WebKit/android/WebCoreSupport/
DCacheResult.cpp131 MutexLocker lock(m_mutex); in writeToFile()
143 m_condition.wait(m_mutex); in writeToFile()
199 MutexLocker lock(m_mutex); in onWriteToFileDone()
206 MutexLocker lock(m_mutex); in responseHeaders()
220 m_condition.wait(m_mutex); in responseHeaders()
239 MutexLocker lock(m_mutex); in onResponseHeadersDone()
DCacheResult.h75 mutable WTF::Mutex m_mutex; variable
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DBinarySemaphore.cpp44 MutexLocker locker(m_mutex); in signal()
52 MutexLocker locker(m_mutex); in wait()
56 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in wait()
DBinarySemaphore.h54 Mutex m_mutex;
DConnection.cpp90 Mutex m_mutex; member in CoreIPC::Connection::SyncMessageState
142 MutexLocker locker(m_mutex); in processIncomingMessage()
164 MutexLocker locker(m_mutex); in dispatchMessages()
177 MutexLocker locker(m_mutex); in dispatchMessageAndResetDidScheduleDispatchMessagesWork()
/external/webkit/Source/JavaScriptCore/wtf/qt/
DThreadingQt.cpp217 : m_mutex(new QMutex()) in Mutex()
223 delete m_mutex; in ~Mutex()
228 m_mutex->lock(); in lock()
233 return m_mutex->tryLock(); in tryLock()
238 m_mutex->unlock(); in unlock()
/external/webkit/Source/WebCore/storage/
DSQLCallbackWrapper.h64 MutexLocker locker(m_mutex); in clear()
82 MutexLocker locker(m_mutex); in unwrap()
99 Mutex m_mutex; variable
/external/webkit/Source/JavaScriptCore/wtf/gtk/
DThreadingGtk.cpp176 : m_mutex(g_mutex_new()) in Mutex()
186 g_mutex_lock(m_mutex.get()); in lock()
191 return g_mutex_trylock(m_mutex.get()); in tryLock()
196 g_mutex_unlock(m_mutex.get()); in unlock()

12