Home
last modified time | relevance | path

Searched refs:MutexGuard (Results 1 – 25 of 125) sorted by relevance

12345

/external/llvm/include/llvm/Support/
DMutexGuard.h27 class MutexGuard {
29 MutexGuard(const MutexGuard &) = delete;
30 void operator=(const MutexGuard &) = delete;
32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function
33 ~MutexGuard() { M.unlock(); } in ~MutexGuard()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMutexGuard.h27 class MutexGuard {
29 MutexGuard(const MutexGuard &) = delete;
30 void operator=(const MutexGuard &) = delete;
32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function
33 ~MutexGuard() { M.unlock(); } in ~MutexGuard()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMutexGuard.h27 class MutexGuard {
29 MutexGuard(const MutexGuard &) = delete;
30 void operator=(const MutexGuard &) = delete;
32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function
33 ~MutexGuard() { M.unlock(); } in ~MutexGuard()
/external/v8/src/libplatform/
Ddefault-foreground-task-runner.cc30 base::MutexGuard guard(&lock_); in Terminate()
41 const base::MutexGuard&) { in PostTaskLocked() argument
48 base::MutexGuard guard(&lock_); in PostTask()
58 Nestability nestability, const base::MutexGuard&) { in PostDelayedTaskLocked() argument
68 base::MutexGuard guard(&lock_); in PostDelayedTask()
74 base::MutexGuard guard(&lock_); in PostNonNestableDelayedTask()
80 base::MutexGuard guard(&lock_); in PostIdleTask()
91 base::MutexGuard guard(&lock_); in PostNonNestableTask()
108 const base::MutexGuard& guard) { in MoveExpiredDelayedTasks()
120 base::MutexGuard guard(&lock_); in PopTaskFromQueue()
[all …]
Dtask-queue.cc19 base::MutexGuard guard(&lock_); in ~TaskQueue()
25 base::MutexGuard guard(&lock_); in Append()
34 base::MutexGuard guard(&lock_); in GetNext()
51 base::MutexGuard guard(&lock_); in Terminate()
60 base::MutexGuard guard(&lock_); in BlockUntilQueueEmptyForTesting()
Ddefault-job.cc48 base::MutexGuard guard(&mutex_); in NotifyConcurrencyIncrease()
98 base::MutexGuard guard(&mutex_); in Join()
110 base::MutexGuard guard(&mutex_); in Join()
117 base::MutexGuard guard(&mutex_); in CancelAndWait()
126 base::MutexGuard guard(&mutex_); in CancelAndDetach()
131 base::MutexGuard guard(&mutex_); in IsActive()
137 base::MutexGuard guard(&mutex_); in CanRunFirstTask()
153 base::MutexGuard guard(&mutex_); in DidRunTask()
213 base::MutexGuard guard(&mutex_); in UpdatePriority()
Ddelayed-task-queue.cc18 base::MutexGuard guard(&lock_); in ~DelayedTaskQueue()
28 base::MutexGuard guard(&lock_); in Append()
39 base::MutexGuard guard(&lock_); in AppendDelayed()
47 base::MutexGuard guard(&lock_); in GetNext()
98 base::MutexGuard guard(&lock_); in Terminate()
Ddefault-foreground-task-runner.h62 void WaitForTaskLocked(const base::MutexGuard&); in NON_EXPORTED_BASE()
68 const base::MutexGuard&); in NON_EXPORTED_BASE()
75 const base::MutexGuard&); in NON_EXPORTED_BASE()
79 std::unique_ptr<Task> PopTaskFromDelayedQueueLocked(const base::MutexGuard&, in NON_EXPORTED_BASE()
88 void MoveExpiredDelayedTasks(const base::MutexGuard& guard); in NON_EXPORTED_BASE()
Ddefault-platform.cc107 base::MutexGuard guard(&lock_); in ~DefaultPlatform()
124 base::MutexGuard guard(&lock_); in EnsureBackgroundTaskRunnerInitialized()
136 base::MutexGuard guard(&lock_); in SetTimeFunctionForTesting()
147 base::MutexGuard guard(&lock_); in PumpMessageLoop()
166 base::MutexGuard guard(&lock_); in RunIdleTasks()
186 base::MutexGuard guard(&lock_); in GetForegroundTaskRunner()
254 base::MutexGuard guard(&lock_); in NotifyIsolateShutdown()
Ddefault-worker-threads-task-runner.cc27 base::MutexGuard guard(&lock_); in Terminate()
35 base::MutexGuard guard(&lock_); in PostTask()
42 base::MutexGuard guard(&lock_); in PostDelayedTask()
/external/v8/src/compiler-dispatcher/
Doptimizing-compile-dispatcher.cc52 base::MutexGuard lock_guard(&dispatcher_->ref_count_mutex_); in CompileTask()
86 base::MutexGuard lock_guard(&dispatcher_->ref_count_mutex_); in RunInternal()
103 base::MutexGuard lock_guard(&ref_count_mutex_); in ~OptimizingCompileDispatcher()
113 base::MutexGuard access_input_queue_(&input_queue_mutex_); in NextInput()
143 base::MutexGuard access_output_queue_(&output_queue_mutex_); in CompileNext()
154 base::MutexGuard access_output_queue_(&output_queue_mutex_); in FlushOutputQueue()
167 base::MutexGuard access_input_queue_(&input_queue_mutex_); in Flush()
184 base::MutexGuard lock_guard(&ref_count_mutex_); in Flush()
198 base::MutexGuard lock_guard(&ref_count_mutex_); in Stop()
215 base::MutexGuard access_output_queue_(&output_queue_mutex_); in InstallOptimizedFunctions()
[all …]
Dcompiler-dispatcher.cc81 base::MutexGuard lock(&mutex_); in Enqueue()
120 base::MutexGuard lock(&mutex_); in RegisterSharedFunctionInfo()
135 base::MutexGuard lock(&mutex_); in WaitForJobIfRunningOnBackground()
210 base::MutexGuard lock(&mutex_); in AbortAll()
229 const base::MutexGuard&) { in ScheduleIdleTaskFromAnyThread() argument
243 base::MutexGuard lock(&mutex_); in ScheduleMoreWorkerTasksIfNeeded()
260 base::MutexGuard lock(&mutex_); in DoBackgroundWork()
282 base::MutexGuard lock(&mutex_); in DoBackgroundWork()
300 base::MutexGuard lock(&mutex_); in DoBackgroundWork()
311 base::MutexGuard lock(&mutex_); in DoIdleWork()
[all …]
/external/v8/src/heap/
Dsafepoint.cc79 base::MutexGuard guard(&local_heap->state_mutex_); in EnterFromThread()
88 base::MutexGuard guard(&local_heap->state_mutex_); in EnterFromThread()
94 base::MutexGuard guard(&mutex_); in Arm()
100 base::MutexGuard guard(&mutex_); in Disarm()
107 base::MutexGuard guard(&mutex_); in Wait()
120 base::MutexGuard guard(&local_heaps_mutex_); in ContainsLocalHeap()
132 base::MutexGuard guard(&local_heaps_mutex_); in ContainsAnyLocalHeap()
Dcollection-barrier.cc16 base::MutexGuard guard(&mutex_); in ResumeThreadsAwaitingCollection()
22 base::MutexGuard guard(&mutex_); in ShutdownRequested()
47 base::MutexGuard guard(&mutex_); in AwaitCollectionBackground()
62 base::MutexGuard guard(&mutex_); in StopTimeToCollectionTimer()
92 base::MutexGuard guard(&mutex_); in BlockUntilCollected()
Dbarrier.h42 base::MutexGuard guard(&mutex_); in Start()
47 base::MutexGuard guard(&mutex_); in NotifyAll()
52 base::MutexGuard guard(&mutex_); in Wait()
Dindex-generator.cc12 base::MutexGuard guard(&lock_); in IndexGenerator()
18 base::MutexGuard guard(&lock_); in GetNext()
41 base::MutexGuard guard(&lock_); in GiveBack()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp96 MutexGuard locked(lock); in ~MCJIT()
108 MutexGuard locked(lock); in addModule()
117 MutexGuard locked(lock); in removeModule()
144 MutexGuard locked(lock); in setObjectCache()
149 MutexGuard locked(lock); in emitObject()
187 MutexGuard locked(lock); in generateCodeForModule()
236 MutexGuard locked(lock); in finalizeLoadedModules()
252 MutexGuard locked(lock); in finalizeObject()
267 MutexGuard locked(lock); in finalizeModule()
293 MutexGuard locked(lock); in findModuleForSymbol()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp92 MutexGuard locked(lock); in ~MCJIT()
104 MutexGuard locked(lock); in addModule()
113 MutexGuard locked(lock); in removeModule()
140 MutexGuard locked(lock); in setObjectCache()
147 MutexGuard locked(lock); in emitObject()
189 MutexGuard locked(lock); in generateCodeForModule()
238 MutexGuard locked(lock); in finalizeLoadedModules()
254 MutexGuard locked(lock); in finalizeObject()
269 MutexGuard locked(lock); in finalizeModule()
296 MutexGuard locked(lock); in findModuleForSymbol()
[all …]
/external/v8/src/wasm/
Dwasm-engine.cc85 base::MutexGuard guard(mutex_); in DeregisterTask()
161 base::MutexGuard lock(&mutex_); in MaybeGetNativeModule()
192 base::MutexGuard lock(&mutex_); in GetStreamingCompilationOwnership()
206 base::MutexGuard lock(&mutex_); in StreamingCompilationFailed()
220 base::MutexGuard lock(&mutex_); in Update()
251 base::MutexGuard lock(&mutex_); in Erase()
402 base::MutexGuard guard(&mutex_); in ~WasmEngine()
418 base::MutexGuard guard(&mutex_); in ~WasmEngine()
520 base::MutexGuard lock(&mutex_); in SyncCompile()
663 base::MutexGuard lock(&mutex_); in TierDownAllModulesPerIsolate()
[all …]
/external/v8/src/tasks/
Dcancelable-task.cc35 base::MutexGuard guard(&mutex_); in Register()
52 base::MutexGuard guard(&mutex_); in RemoveFinishedTask()
61 base::MutexGuard guard(&mutex_); in TryAbort()
82 base::MutexGuard guard(&mutex_); in CancelAndWait()
106 base::MutexGuard guard(&mutex_); in TryAbortAll()
/external/v8/src/utils/
Dlocked-queue-inl.h46 base::MutexGuard guard(&tail_mutex_);
56 base::MutexGuard guard(&head_mutex_);
69 base::MutexGuard guard(&head_mutex_);
75 base::MutexGuard guard(&head_mutex_);
/external/crosvm/sync/src/
Dcondvar.rs6 use std::sync::{Condvar as StdCondvar, MutexGuard};
23 pub fn wait<'a, T>(&self, guard: MutexGuard<'a, T>) -> MutexGuard<'a, T> { in wait()
Dmutex.rs28 use std::sync::{Mutex as StdMutex, MutexGuard, TryLockError};
60 pub fn lock(&self) -> MutexGuard<T> { in lock()
74 pub fn try_lock(&self) -> Result<MutexGuard<T>, WouldBlock> { in try_lock()
/external/v8/src/libplatform/tracing/
Dtracing-controller.cc81 base::MutexGuard lock(mutex_.get()); in ~TracingController()
144 base::MutexGuard lock(mutex_.get()); in AddTraceEventWithTimestamp()
211 base::MutexGuard lock(mutex_.get()); in StartTracing()
233 base::MutexGuard lock(mutex_.get()); in StopTracing()
259 base::MutexGuard lock(mutex_.get()); in StopTracing()
310 base::MutexGuard lock(mutex_.get()); in GetCategoryGroupEnabled()
349 base::MutexGuard lock(mutex_.get()); in AddTraceStateObserver()
359 base::MutexGuard lock(mutex_.get()); in RemoveTraceStateObserver()
/external/v8/src/profiler/
Dtracing-cpu-profiler.cc40 base::MutexGuard lock(&mutex_); in OnTraceDisabled()
51 base::MutexGuard lock(&mutex_); in StartProfiling()
61 base::MutexGuard lock(&mutex_); in StopProfiling()

12345