Home
last modified time | relevance | path

Searched refs:ScopedLock (Results 1 – 25 of 60) sorted by relevance

123

/third_party/node/src/
Dnode_mutex.h58 typename MutexT::ScopedLock scoped_lock_;
63 friend class ScopedLock;
81 class ScopedLock; variable
84 class ScopedLock {
86 inline explicit ScopedLock(const MutexBase& mutex);
87 inline explicit ScopedLock(const ScopedUnlock& scoped_unlock);
88 inline ~ScopedLock();
90 ScopedLock(const ScopedLock&) = delete;
91 ScopedLock& operator=(const ScopedLock&) = delete;
112 using ScopedWriteLock = ScopedLock;
[all …]
Dhistogram-inl.h13 Mutex::ScopedLock lock(mutex_); in Reset()
21 Mutex::ScopedLock lock(mutex_); in Add()
30 Mutex::ScopedLock lock(mutex_); in Count()
35 Mutex::ScopedLock lock(mutex_); in Min()
40 Mutex::ScopedLock lock(mutex_); in Max()
45 Mutex::ScopedLock lock(mutex_); in Mean()
50 Mutex::ScopedLock lock(mutex_); in Stddev()
55 Mutex::ScopedLock lock(mutex_); in Percentile()
63 Mutex::ScopedLock lock(mutex_); in Percentiles()
73 Mutex::ScopedLock lock(mutex_); in Record()
[all …]
Dnode_watchdog.cc105 Mutex::ScopedLock lock(SigintWatchdogHelper::GetInstanceActionMutex()); in SigintWatchdog()
114 Mutex::ScopedLock lock(SigintWatchdogHelper::GetInstanceActionMutex()); in ~SigintWatchdog()
151 Mutex::ScopedLock lock(SigintWatchdogHelper::GetInstanceActionMutex()); in Start()
162 Mutex::ScopedLock lock(SigintWatchdogHelper::GetInstanceActionMutex()); in Stop()
224 Mutex::ScopedLock lock(SigintWatchdogHelper::GetInstanceActionMutex()); in HandleInterrupt()
268 Mutex::ScopedLock list_lock(instance.list_mutex_); in InformWatchdogsAboutSignal()
294 Mutex::ScopedLock lock(mutex_); in Start()
332 Mutex::ScopedLock lock(mutex_); in Stop()
335 Mutex::ScopedLock list_lock(list_mutex_); in Stop()
378 Mutex::ScopedLock lock(list_mutex_); in HasPendingSignal()
[all …]
Dnode_platform.cc37 Mutex::ScopedLock lock(*worker_data->platform_workers_mutex); in PlatformWorkerThread()
177 Mutex::ScopedLock lock(platform_workers_mutex); in WorkerThreadsTaskRunner()
361 Mutex::ScopedLock lock(per_isolate_mutex_); in RegisterIsolate()
372 Mutex::ScopedLock lock(per_isolate_mutex_); in RegisterIsolate()
380 Mutex::ScopedLock lock(per_isolate_mutex_); in UnregisterIsolate()
392 Mutex::ScopedLock lock(per_isolate_mutex_); in AddIsolateFinishedCallback()
408 Mutex::ScopedLock lock(per_isolate_mutex_); in Shutdown()
511 Mutex::ScopedLock lock(per_isolate_mutex_); in ForIsolate()
519 Mutex::ScopedLock lock(per_isolate_mutex_); in ForNodeIsolate()
579 Mutex::ScopedLock scoped_lock(lock_); in Push()
[all …]
Dnode_report_module.cc75 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetCompact()
80 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetCompact()
88 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetDirectory()
96 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetDirectory()
104 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetFilename()
112 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetFilename()
134 Mutex::ScopedLock lock(per_process::cli_options_mutex); in ShouldReportOnFatalError()
140 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetReportOnFatalError()
Dinspector_io.cc114 Mutex::ScopedLock scoped_lock(state_lock_); in Post()
124 Mutex::ScopedLock scoped_lock(state_lock_); in Wait()
142 Mutex::ScopedLock scoped_lock(state_lock_); in GetMessages()
170 Mutex::ScopedLock scoped_lock(lock_); in Reset()
177 Mutex::ScopedLock scoped_lock(lock_); in Post()
183 Mutex::ScopedLock scoped_lock(lock_); in Expired()
264 Mutex::ScopedLock scoped_lock(thread_start_lock_); in InspectorIo()
311 Mutex::ScopedLock scoped_lock(thread_start_lock_); in ThreadMain()
Dnode_env_var.cc104 Mutex::ScopedLock lock(per_process::env_var_mutex); in Get()
141 Mutex::ScopedLock lock(per_process::env_var_mutex); in Set()
154 Mutex::ScopedLock lock(per_process::env_var_mutex); in Query()
181 Mutex::ScopedLock lock(per_process::env_var_mutex); in Delete()
189 Mutex::ScopedLock lock(per_process::env_var_mutex); in Enumerate()
232 Mutex::ScopedLock lock(mutex_); in Get()
247 Mutex::ScopedLock lock(mutex_); in Set()
257 Mutex::ScopedLock lock(mutex_); in Query()
267 Mutex::ScopedLock lock(mutex_); in Delete()
273 Mutex::ScopedLock lock(mutex_); in Enumerate()
Dnode_worker.cc97 Mutex::ScopedLock lock(mutex_); in is_stopped()
188 Mutex::ScopedLock lock(w_->mutex_); in WorkerThreadData()
196 Mutex::ScopedLock lock(w_->mutex_); in ~WorkerThreadData()
290 Mutex::ScopedLock lock(mutex_); in Run()
345 Mutex::ScopedLock lock(mutex_); in Run()
366 Mutex::ScopedLock lock(mutex_); in Run()
383 Mutex::ScopedLock lock(mutex_); in CreateEnvMessagePort()
437 Mutex::ScopedLock lock(mutex_); in ~Worker()
617 Mutex::ScopedLock lock(w->mutex_); in StartThread()
651 Mutex::ScopedLock lock(w->mutex_); in StartThread()
[all …]
Dsignal_wrap.cc136 Mutex::ScopedLock lock(handled_signals_mutex); in Start()
164 Mutex::ScopedLock lock(handled_signals_mutex); in DecreaseSignalHandlerCount()
172 Mutex::ScopedLock lock(handled_signals_mutex); in HasSignalJSHandler()
Dnode_binding.cc156 Mutex::ScopedLock lock(dlhandles_mutex); in wrapped_dlopen()
194 Mutex::ScopedLock lock(dlhandles_mutex); in wrapped_dlclose()
279 Mutex::ScopedLock lock(mutex_); in set()
294 Mutex::ScopedLock lock(mutex_); in get_and_increase_refcount()
304 Mutex::ScopedLock lock(mutex_); in erase()
459 Mutex::ScopedLock lock(dlib_load_mutex); in DLOpen()
638 Mutex::ScopedLock lock(cur_env->extra_linked_bindings_mutex()); in GetLinkedBinding()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeMutex.hpp61 class ScopedLock class
64 ScopedLock (Mutex& mutex);
65 ~ScopedLock (void) { m_mutex.unlock(); } in ~ScopedLock()
68 ScopedLock (const ScopedLock& other); // Not allowed!
69 ScopedLock& operator= (const ScopedLock& other); // Not allowed!
125 inline ScopedLock::ScopedLock (Mutex& mutex) in ScopedLock() function in de::ScopedLock
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_pthread.cpp108 struct ScopedLock struct
112 ScopedLock(dng_pthread_mutex_impl *arg) : mutex(arg) in ScopedLock() argument
116 ScopedLock(dng_pthread_mutex_impl &arg) : mutex(&arg) in ScopedLock() argument
120 ~ScopedLock() in ~ScopedLock() argument
125 ScopedLock &operator=(const ScopedLock &);
126 ScopedLock(const ScopedLock &) { } in ScopedLock() function
136 ScopedLock lock(validationLock); in ValidateMutex()
147 ScopedLock lock(validationLock); in ValidateCond()
228 ScopedLock lockMap(primaryHandleMapLock); in trampoline()
331 ScopedLock lockMap(primaryHandleMapLock); in dng_pthread_create()
[all …]
/third_party/node/src/tracing/
Dnode_trace_writer.cc38 Mutex::ScopedLock scoped_lock(stream_mutex_); in WriteSuffix()
57 Mutex::ScopedLock scoped_lock(request_mutex_); in ~NodeTraceWriter()
100 Mutex::ScopedLock scoped_lock(stream_mutex_); in AppendTraceEvent()
120 Mutex::ScopedLock stream_scoped_lock(stream_mutex_); in FlushPrivate()
133 Mutex::ScopedLock request_scoped_lock(request_mutex_); in FlushPrivate()
140 Mutex::ScopedLock scoped_lock(request_mutex_); in Flush()
145 Mutex::ScopedLock stream_mutex_lock(stream_mutex_); in Flush()
167 Mutex::ScopedLock lock(request_mutex_); in WriteToFile()
201 Mutex::ScopedLock scoped_lock(request_mutex_); in AfterWrite()
233 Mutex::ScopedLock scoped_lock(trace_writer->request_mutex_); in ExitSignalCb()
Dnode_trace_buffer.cc17 Mutex::ScopedLock scoped_lock(mutex_); in AddTraceEvent()
35 Mutex::ScopedLock scoped_lock(mutex_); in GetEventByHandle()
59 Mutex::ScopedLock scoped_lock(mutex_); in Flush()
117 Mutex::ScopedLock scoped_lock(exit_mutex_); in ~NodeTraceBuffer()
191 Mutex::ScopedLock scoped_lock(buffer->exit_mutex_); in ExitSignalCb()
Dagent.cc66 Mutex::ScopedLock lock(initialize_writer_mutex_); in InitializeWritersOnThread()
127 Mutex::ScopedLock lock(initialize_writer_mutex_); in AddClient()
157 Mutex::ScopedLock lock(initialize_writer_mutex_); in Disconnect()
211 Mutex::ScopedLock lock(metadata_events_mutex_); in AddMetadataEvent()
217 Mutex::ScopedLock lock(metadata_events_mutex_); in Flush()
/third_party/vk-gl-cts/executor/
DxeCallQueue.cpp72 de::ScopedLock lock(m_lock); in callNext()
92 de::ScopedLock lock(m_lock); in callNext()
105 de::ScopedLock lock(m_lock); in callNext()
112 de::ScopedLock lock (m_lock); in getEmptyCall()
135 de::ScopedLock lock(m_lock); in enqueue()
149 de::ScopedLock lock(m_lock); in freeCall()
DxeTcpIpLink.cpp94 de::ScopedLock lock(m_lock); in getState()
101 de::ScopedLock lock(m_lock); in getState()
109 de::ScopedLock lock(m_lock); in setCallbacks()
123 de::ScopedLock lock(m_lock); in setState()
166 de::ScopedLock lock(m_lock); in onKeepaliveReceived()
172 de::ScopedLock lock(m_lock); in getLastKeepaliveRecevied()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidWindow.cpp59 de::ScopedLock lock(m_stateLock); in tryAcquire()
72 de::ScopedLock lock(m_stateLock); in release()
89 de::ScopedLock lock(m_stateLock); in markForDestroy()
101 de::ScopedLock lock(m_stateLock); in isPendingDestroy()
107 de::ScopedLock lock(m_stateLock); in tryAcquireForDestroy()
/third_party/node/src/inspector/
Dmain_thread_interface.cc209 Mutex::ScopedLock scoped_lock(requests_lock_); in Post()
227 Mutex::ScopedLock scoped_lock(requests_lock_); in WaitForFrontendEvent()
240 Mutex::ScopedLock scoped_lock(requests_lock_); in DispatchMessages()
309 Mutex::ScopedLock scoped_lock(block_lock_); in Post()
317 Mutex::ScopedLock scoped_lock(block_lock_); in Reset()
331 Mutex::ScopedLock scoped_lock(block_lock_); in Expired()
/third_party/vk-gl-cts/framework/platform/lnx/
DtcuLnx.cpp43 de::ScopedLock lock(m_mutex); in setQuitFlag()
49 de::ScopedLock lock(m_mutex); in getQuitFlag()
/third_party/vk-gl-cts/execserver/
DxsTcpServer.cpp88 de::ScopedLock lock(m_connectionListLock); in connectionDone()
100 de::ScopedLock lock(m_connectionListLock); in addLiveConnection()
106 de::ScopedLock lock(m_connectionListLock); in deleteDoneConnections()
/third_party/node/src/crypto/
Dcrypto_util.cc156 Mutex::ScopedLock lock(per_process::cli_options_mutex); in InitCryptoOnce()
157 Mutex::ScopedLock fips_lock(fips_mutex); in InitCryptoOnce()
215 Mutex::ScopedLock lock(per_process::cli_options_mutex); in GetFipsCrypto()
216 Mutex::ScopedLock fips_lock(fips_mutex); in GetFipsCrypto()
227 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetFipsCrypto()
228 Mutex::ScopedLock fips_lock(fips_mutex); in SetFipsCrypto()
254 Mutex::ScopedLock lock(per_process::cli_options_mutex); in SetFipsCrypto()
255 Mutex::ScopedLock fips_lock(fips_mutex); in SetFipsCrypto()
/third_party/vk-gl-cts/framework/common/
DtcuThreadUtil.cpp245 de::ScopedLock lock(m_messageLock); in pushMessage()
251 de::ScopedLock lock(m_messageLock); in getMessageCount()
257 de::ScopedLock lock(m_messageLock); in getMessage()
/third_party/node/src/api/
Denvironment.cc126 Mutex::ScopedLock lock(mutex_); in Allocate()
133 Mutex::ScopedLock lock(mutex_); in AllocateUninitialized()
140 Mutex::ScopedLock lock(mutex_); in Free()
148 Mutex::ScopedLock lock(mutex_); in Reallocate()
171 Mutex::ScopedLock lock(mutex_); in RegisterPointer()
177 Mutex::ScopedLock lock(mutex_); in UnregisterPointer()
278 Mutex::ScopedLock lock(node::per_process::cli_options_mutex); in SetIsolateMiscHandlers()
777 Mutex::ScopedLock lock(env->extra_linked_bindings_mutex()); in AddLinkedBinding()
/third_party/vk-gl-cts/framework/platform/ios/
DtcuIOSApp.mm93 de::ScopedLock stateLock(m_lock);
103 de::ScopedLock stateLock(m_lock);
111 de::ScopedLock stateLock(m_lock);
117 de::ScopedLock stateLock(m_lock);

123