Home
last modified time | relevance | path

Searched refs:LockGuard (Results 1 – 25 of 72) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DThreadPool.cpp37 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local
39 QueueCondition.wait(LockGuard, in ThreadPool()
50 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
61 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
74 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local
78 CompletionCondition.wait(LockGuard, in wait()
88 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local
102 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
/external/v8/src/compiler-dispatcher/
Doptimizing-compile-dispatcher.cc45 base::LockGuard<base::Mutex> lock_guard(&dispatcher_->ref_count_mutex_); in CompileTask()
72 base::LockGuard<base::Mutex> lock_guard(&dispatcher_->ref_count_mutex_); in RunInternal()
88 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in ~OptimizingCompileDispatcher()
98 base::LockGuard<base::Mutex> access_input_queue_(&input_queue_mutex_); in NextInput()
124 base::LockGuard<base::Mutex> access_output_queue_(&output_queue_mutex_); in CompileNext()
133 base::LockGuard<base::Mutex> access_output_queue_(&output_queue_mutex_); in FlushOutputQueue()
146 base::LockGuard<base::Mutex> access_input_queue_(&input_queue_mutex_); in Flush()
163 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Flush()
177 base::LockGuard<base::Mutex> lock_guard(&ref_count_mutex_); in Stop()
198 base::LockGuard<base::Mutex> access_output_queue_(&output_queue_mutex_); in InstallOptimizedFunctions()
[all …]
Dcompiler-dispatcher.cc209 base::LockGuard<base::Mutex> lock(&mutex_); in CanEnqueue()
305 base::LockGuard<base::Mutex> lock(&mutex_); in WaitForJobIfRunningOnBackground()
348 base::LockGuard<base::Mutex> lock(&mutex_); in FinishAllNow()
385 base::LockGuard<base::Mutex> lock(&mutex_); in AbortAll()
394 base::LockGuard<base::Mutex> lock(&mutex_); in AbortAll()
408 base::LockGuard<base::Mutex> lock(&mutex_); in AbortInactiveJobs()
417 base::LockGuard<base::Mutex> lock(&mutex_); in AbortInactiveJobs()
431 base::LockGuard<base::Mutex> lock(&mutex_); in AbortInactiveJobs()
453 base::LockGuard<base::Mutex> lock(&mutex_); in MemoryPressureNotification()
483 base::LockGuard<base::Mutex> lock(&mutex_); in ScheduleIdleTaskFromAnyThread()
[all …]
Dcompiler-dispatcher-tracer.cc69 base::LockGuard<base::Mutex> lock(&mutex_); in RecordPrepare()
75 base::LockGuard<base::Mutex> lock(&mutex_); in RecordCompile()
80 base::LockGuard<base::Mutex> lock(&mutex_); in RecordFinalize()
85 base::LockGuard<base::Mutex> lock(&mutex_); in EstimatePrepareInMs()
91 base::LockGuard<base::Mutex> lock(&mutex_); in EstimateCompileInMs()
96 base::LockGuard<base::Mutex> lock(&mutex_); in EstimateFinalizeInMs()
/external/v8/src/libplatform/
Ddefault-foreground-task-runner.cc18 base::LockGuard<base::Mutex> guard(&lock_); in Terminate()
28 std::unique_ptr<Task> task, const base::LockGuard<base::Mutex>&) { in PostTaskLocked()
35 base::LockGuard<base::Mutex> guard(&lock_); in PostTask()
46 base::LockGuard<base::Mutex> guard(&lock_); in PostDelayedTask()
54 base::LockGuard<base::Mutex> guard(&lock_); in PostIdleTask()
65 base::LockGuard<base::Mutex> guard(&lock_); in PopTaskFromQueue()
86 const base::LockGuard<base::Mutex>&) { in PopTaskFromDelayedQueueLocked()
105 base::LockGuard<base::Mutex> guard(&lock_); in PopTaskFromIdleQueue()
115 const base::LockGuard<base::Mutex>&) { in WaitForTaskLocked()
Dtask-queue.cc19 base::LockGuard<base::Mutex> guard(&lock_); in ~TaskQueue()
25 base::LockGuard<base::Mutex> guard(&lock_); in Append()
34 base::LockGuard<base::Mutex> guard(&lock_); in GetNext()
51 base::LockGuard<base::Mutex> guard(&lock_); in Terminate()
60 base::LockGuard<base::Mutex> guard(&lock_); in BlockUntilQueueEmptyForTesting()
Ddefault-platform.cc95 base::LockGuard<base::Mutex> guard(&lock_); in ~DefaultPlatform()
103 base::LockGuard<base::Mutex> guard(&lock_); in SetThreadPoolSize()
113 base::LockGuard<base::Mutex> guard(&lock_); in EnsureBackgroundTaskRunnerInitialized()
131 base::LockGuard<base::Mutex> guard(&lock_); in SetTimeFunctionForTesting()
142 base::LockGuard<base::Mutex> guard(&lock_); in PumpMessageLoop()
162 base::LockGuard<base::Mutex> guard(&lock_); in RunIdleTasks()
181 base::LockGuard<base::Mutex> guard(&lock_); in GetForegroundTaskRunner()
Ddefault-worker-threads-task-runner.cc26 base::LockGuard<base::Mutex> guard(&lock_); in Terminate()
34 base::LockGuard<base::Mutex> guard(&lock_); in PostTask()
41 base::LockGuard<base::Mutex> guard(&lock_); in PostDelayedTask()
Ddefault-foreground-task-runner.h32 void WaitForTaskLocked(const base::LockGuard<base::Mutex>&); in NON_EXPORTED_BASE()
50 const base::LockGuard<base::Mutex>&); in NON_EXPORTED_BASE()
55 const base::LockGuard<base::Mutex>&); in NON_EXPORTED_BASE()
/external/llvm/lib/Support/
DThreadPool.cpp36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local
38 QueueCondition.wait(LockGuard, in ThreadPool()
50 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
64 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local
77 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local
81 CompletionCondition.wait(LockGuard, in wait()
91 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local
105 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
/external/v8/src/
Dcancelable-task.cc33 base::LockGuard<base::Mutex> guard(&mutex_); in Register()
43 base::LockGuard<base::Mutex> guard(&mutex_); in RemoveFinishedTask()
52 base::LockGuard<base::Mutex> guard(&mutex_); in TryAbort()
73 base::LockGuard<base::Mutex> guard(&mutex_); in CancelAndWait()
97 base::LockGuard<base::Mutex> guard(&mutex_); in TryAbortAll()
Dlocked-queue-inl.h49 base::LockGuard<base::Mutex> guard(&tail_mutex_);
60 base::LockGuard<base::Mutex> guard(&head_mutex_);
74 base::LockGuard<base::Mutex> guard(&head_mutex_);
81 base::LockGuard<base::Mutex> guard(&head_mutex_);
Dfutex-emulation.cc36 base::LockGuard<base::Mutex> lock_guard(FutexEmulation::mutex_.Pointer()); in NotifyWake()
83 base::LockGuard<base::Mutex> lock_guard(FutexEmulation::mutex_.Pointer()); in Wake()
136 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wait()
246 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in Wake()
269 base::LockGuard<base::Mutex> lock_guard(mutex_.Pointer()); in NumWaitersForTesting()
/external/swiftshader/src/System/
DMutexLock.hpp177 class LockGuard class
180 explicit LockGuard(sw::MutexLock &mutex) : mutex(&mutex) in LockGuard() function in LockGuard
185 explicit LockGuard(sw::MutexLock *mutex) : mutex(mutex) in LockGuard() function in LockGuard
190 ~LockGuard() in ~LockGuard()
/external/v8/src/base/platform/
Dmutex.h211 class LockGuard final {
213 explicit LockGuard(Mutex* mutex) : mutex_(mutex) { in LockGuard() function
218 ~LockGuard() { in ~LockGuard()
225 DISALLOW_COPY_AND_ASSIGN(LockGuard);
/external/v8/src/libplatform/tracing/
Dtracing-controller.cc50 base::LockGuard<base::Mutex> lock(mutex_.get()); in ~TracingController()
142 base::LockGuard<base::Mutex> lock(mutex_.get()); in StartTracing()
161 base::LockGuard<base::Mutex> lock(mutex_.get()); in StopTracing()
212 base::LockGuard<base::Mutex> lock(mutex_.get()); in GetCategoryGroupEnabledInternal()
250 base::LockGuard<base::Mutex> lock(mutex_.get()); in AddTraceStateObserver()
260 base::LockGuard<base::Mutex> lock(mutex_.get()); in RemoveTraceStateObserver()
/external/v8/src/heap/
Dbarrier.h37 base::LockGuard<base::Mutex> guard(&mutex_); in Start()
42 base::LockGuard<base::Mutex> guard(&mutex_); in NotifyAll()
47 base::LockGuard<base::Mutex> guard(&mutex_); in Wait()
Dworklist.h285 base::LockGuard<base::Mutex> guard(&lock_); in Push()
291 base::LockGuard<base::Mutex> guard(&lock_); in Pop()
305 base::LockGuard<base::Mutex> guard(&lock_); in Clear()
318 base::LockGuard<base::Mutex> guard(&lock_); in Update()
342 base::LockGuard<base::Mutex> guard(&lock_); in Iterate()
352 base::LockGuard<base::Mutex> guard(&lock_); in Extract()
365 base::LockGuard<base::Mutex> guard(&lock_); in MergeList()
/external/swiftshader/src/OpenGL/common/
DObject.cpp35 LockGuard instances_lock(instances_mutex); in Object()
45 LockGuard instances_lock(instances_mutex); in ~Object()
95 LockGuard instances_lock(Object::instances_mutex); in ~ObjectLeakCheck()
/external/v8/src/profiler/
Dtracing-cpu-profiler.cc43 base::LockGuard<base::Mutex> lock(&mutex_); in OnTraceDisabled()
54 base::LockGuard<base::Mutex> lock(&mutex_); in StartProfiling()
67 base::LockGuard<base::Mutex> lock(&mutex_); in StopProfiling()
/external/swiftshader/src/Common/
DMutexLock.hpp177 class LockGuard class
180 explicit LockGuard(sw::MutexLock &mutex) : mutex(mutex) in LockGuard() function in LockGuard
185 ~LockGuard() in ~LockGuard()
/external/v8/src/wasm/
Dwasm-engine.cc205 base::LockGuard<base::Mutex> guard(&mutex_); in GetOrCreateTurboStatistics()
213 base::LockGuard<base::Mutex> guard(&mutex_); in DumpAndResetTurboStatistics()
222 base::LockGuard<base::Mutex> guard(&mutex_); in GetCodeTracer()
235 base::LockGuard<base::Mutex> guard(&mutex_); in CreateAsyncCompileJob()
242 base::LockGuard<base::Mutex> guard(&mutex_); in RemoveCompileJob()
251 base::LockGuard<base::Mutex> guard(&mutex_); in HasRunningCompileJob()
259 base::LockGuard<base::Mutex> guard(&mutex_); in DeleteCompileJobsOnIsolate()
Dwasm-memory.cc167 base::LockGuard<base::Mutex> scope_lock(&mutex_); in RegisterAllocation()
179 base::LockGuard<base::Mutex> scope_lock(&mutex_); in ReleaseAllocation()
204 base::LockGuard<base::Mutex> scope_lock(&mutex_); in FindAllocationData()
213 base::LockGuard<base::Mutex> scope_lock(&mutex_); in IsWasmMemory()
218 base::LockGuard<base::Mutex> scope_lock(&mutex_); in HasFullGuardRegions()
/external/v8/src/zone/
Daccounting-allocator.cc46 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in ConfigureSegmentPool()
141 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in GetSegmentFromPool()
176 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in AddSegmentToPool()
192 base::LockGuard<base::Mutex> lock_guard(&unused_segments_mutex_); in ClearPool()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DThreadPool.cpp58 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local
59 WaitMainThread.wait(LockGuard, [&] { return MainThreadReady; }); in waitForMainThread()
65 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local

123