Home
last modified time | relevance | path

Searched refs:CheckedAutoLock (Results 1 – 17 of 17) sorted by relevance

/external/cronet/base/task/thread_pool/
Dthread_group_impl.cc382 CheckedAutoLock auto_lock(lock_); in Start()
432 CheckedAutoLock auto_lock(lock_); in GetMaxConcurrentNonBlockedTasksDeprecated()
441 CheckedAutoLock auto_lock(lock_); in WaitForWorkersIdleForTesting()
454 CheckedAutoLock auto_lock(lock_); in WaitForAllWorkersIdleForTesting()
459 CheckedAutoLock auto_lock(lock_); in WaitForWorkersCleanedUpForTesting()
473 CheckedAutoLock auto_lock(lock_); in JoinForTesting()
493 CheckedAutoLock auto_lock(lock_); in JoinForTesting()
500 CheckedAutoLock auto_lock(lock_); in NumberOfWorkersForTesting()
505 CheckedAutoLock auto_lock(lock_); in GetMaxTasksForTesting()
510 CheckedAutoLock auto_lock(lock_); in GetMaxBestEffortTasksForTesting()
[all …]
Ddelayed_task_manager.cc72 CheckedAutoLock auto_lock(queue_lock_); in Start()
99 CheckedAutoLock auto_lock(queue_lock_); in AddDelayedTask()
128 CheckedAutoLock auto_lock(queue_lock_); in ProcessRipeTasks()
168 CheckedAutoLock auto_lock(queue_lock_); in NextScheduledRunTime()
175 CheckedAutoLock auto_lock(queue_lock_); in TopTaskDelayPolicyForTesting()
183 CheckedAutoLock auto_lock(queue_lock_); in Shutdown()
224 CheckedAutoLock auto_lock(queue_lock_); in ScheduleProcessRipeTasksOnServiceThread()
Dthread_group.cc93 CheckedAutoLock auto_lock(lock_); in Start()
144 CheckedAutoLock auto_lock(lock_); in RemoveTaskSource()
229 CheckedAutoLock auto_lock(lock_); in UpdateSortKeyImpl()
238 CheckedAutoLock auto_lock(lock_); in PushTaskSourceAndWakeUpWorkersImpl()
264 CheckedAutoLock current_thread_group_lock(lock_); in InvalidateAndHandoffAllTaskSourcesToOtherThreadGroup()
265 CheckedAutoLock destination_thread_group_lock( in InvalidateAndHandoffAllTaskSourcesToOtherThreadGroup()
273 CheckedAutoLock current_thread_group_lock(lock_); in HandoffNonUserBlockingTaskSourcesToOtherThreadGroup()
274 CheckedAutoLock destination_thread_group_lock( in HandoffNonUserBlockingTaskSourcesToOtherThreadGroup()
Dtask_tracker.cc233 CheckedAutoLock auto_lock(shutdown_lock_); in StartShutdown()
275 CheckedAutoLock auto_lock(flush_lock_); in CompleteShutdown()
283 CheckedAutoLock auto_lock(flush_lock_); in FlushForTesting()
293 CheckedAutoLock auto_lock(flush_lock_); in FlushAsyncForTesting()
323 CheckedAutoLock auto_lock(shutdown_lock_); in WillPostTask()
416 CheckedAutoLock auto_lock(shutdown_lock_); in IsShutdownComplete()
511 CheckedAutoLock auto_lock(shutdown_lock_); in BeforeQueueTaskSource()
587 CheckedAutoLock auto_lock(shutdown_lock_); in DecrementNumItemsBlockingShutdown()
598 CheckedAutoLock auto_lock(flush_lock_); in DecrementNumIncompleteTaskSources()
608 CheckedAutoLock auto_lock(flush_lock_); in InvokeFlushCallbacksForTesting()
Dpooled_single_thread_task_runner_manager.cc129 CheckedAutoLock auto_lock(lock_); in GetWork()
192 CheckedAutoLock auto_lock(lock_); in DidUpdateCanRunPolicy()
203 CheckedAutoLock auto_lock(lock_); in EnableFlushPriorityQueueTaskSourcesOnDestroyForTesting()
229 CheckedAutoLock auto_lock(lock_); in EnqueueTaskSource()
295 CheckedAutoLock auto_lock(lock_); in GetWork()
581 CheckedAutoLock auto_lock(lock_); in Start()
600 CheckedAutoLock auto_lock(lock_); in DidUpdateCanRunPolicy()
663 CheckedAutoLock auto_lock(lock_); in CreateTaskRunnerImpl()
688 CheckedAutoLock auto_lock(lock_); in JoinForTesting()
699 CheckedAutoLock auto_lock(lock_); in JoinForTesting()
[all …]
Dworker_thread_unittest.cc116 CheckedAutoLock auto_lock(lock_); in WaitForNumGetWork()
122 CheckedAutoLock auto_lock(lock_); in SetMaxGetWork()
127 CheckedAutoLock auto_lock(lock_); in SetNumSequencesToCreate()
133 CheckedAutoLock auto_lock(lock_); in NumRunTasks()
138 CheckedAutoLock auto_lock(lock_); in CreatedTaskSources()
143 CheckedAutoLock auto_lock(lock_); in DidProcessTaskSequences()
171 CheckedAutoLock auto_lock(outer_->lock_); in OnMainEntry()
181 CheckedAutoLock auto_lock(outer_->lock_); in GetWork()
218 CheckedAutoLock auto_lock(outer_->lock_); in GetWork()
232 CheckedAutoLock auto_lock(expect_did_run_task_lock_); in DidProcessTask()
[all …]
Dworker_thread.cc176 CheckedAutoLock auto_lock(thread_lock_); in Start()
226 CheckedAutoLock auto_lock(thread_lock_); in JoinForTesting()
240 CheckedAutoLock auto_lock(thread_lock_); in ThreadAliveForTesting()
245 CheckedAutoLock auto_lock(thread_lock_); in ~WorkerThread()
265 CheckedAutoLock auto_lock(thread_lock_); in BeginUnusedPeriod()
271 CheckedAutoLock auto_lock(thread_lock_); in EndUnusedPeriod()
277 CheckedAutoLock auto_lock(thread_lock_); in GetLastUsedTime()
Djob_task_source.cc123 CheckedAutoLock auto_lock(worker_lock_); in WillJoin()
156 CheckedAutoLock auto_lock(worker_lock_); in RunJoinTask()
214 CheckedAutoLock auto_lock(worker_lock_); in WillRunTask()
254 CheckedAutoLock auto_lock(worker_lock_); in IsActive()
273 CheckedAutoLock auto_lock(worker_lock_); in NotifyConcurrencyIncrease()
343 CheckedAutoLock auto_lock(worker_lock_); in DidProcessTask()
Dthread_group_unittest.cc408 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
414 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
422 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
436 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
609 CheckedAutoLock auto_lock(tasks_running_lock); in TEST_F()
626 CheckedAutoLock auto_lock(tasks_running_lock); in TEST_F()
813 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
819 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
836 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
851 CheckedAutoLock auto_lock(num_tasks_running_lock); in TEST_F()
Dtest_utils.cc85 CheckedAutoLock auto_lock(lock_); in AllowCallsOnMainExit()
91 CheckedAutoLock auto_lock(lock_); in WaitCallsOnMainExit()
97 CheckedAutoLock auto_lock(lock_); in OnWorkerThreadMainExit()
Dtask_tracker_unittest.cc232 CheckedAutoLock auto_lock(lock_); in NumTasksExecuted()
240 CheckedAutoLock auto_lock(lock_); in RunTaskCallback()
/external/cronet/base/task/sequence_manager/
Dtask_queue_impl.cc241 base::internal::CheckedAutoLock lock(any_thread_lock_); in ~TaskQueueImpl()
287 base::internal::CheckedAutoLock lock(any_thread_lock_); in UnregisterTaskQueue()
374 base::internal::CheckedAutoLock lock(any_thread_lock_); in GetTaskDelayAdjustment()
401 base::internal::CheckedAutoLock lock(any_thread_lock_); in PostImmediateTaskImpl()
585 base::internal::CheckedAutoLock lock(any_thread_lock_); in TakeImmediateIncomingQueueTasks()
622 base::internal::CheckedAutoLock lock(any_thread_lock_); in IsEmpty()
632 base::internal::CheckedAutoLock lock(any_thread_lock_); in GetNumberOfPendingTasks()
653 base::internal::CheckedAutoLock lock(any_thread_lock_); in HasTaskToRunImmediatelyOrReadyDelayedTask()
768 base::internal::CheckedAutoLock lock(any_thread_lock_); in TraceQueueSize()
816 base::internal::CheckedAutoLock lock(any_thread_lock_); in AsValue()
[all …]
Dthread_controller_with_message_pump_impl.cc175 base::internal::CheckedAutoLock task_runner_lock(task_runner_lock_); in BindToCurrentThread()
249 base::internal::CheckedAutoLock lock(task_runner_lock_); in SetDefaultTaskRunner()
273 base::internal::CheckedAutoLock lock(task_runner_lock_); in GetDefaultTaskRunner()
Dtask_queue.cc293 base::internal::CheckedAutoLock lock(impl_lock_); in TakeTaskQueueImpl()
/external/cronet/base/task/
Dlazy_thread_pool_task_runner.cc115 internal::CheckedAutoLock auto_lock(lock_); in ~ScopedLazyTaskRunnerListForTesting()
122 internal::CheckedAutoLock auto_lock(lock_); in AddCallback()
/external/cronet/base/task/common/
Dchecked_lock.h95 using CheckedAutoLock = internal::BasicAutoLock<CheckedLock>; variable
Dchecked_lock_unittest.cc428 CheckedAutoLock auto_lock(lock); in TEST()
446 CheckedAutoLock auto_lock(*acquired); in TEST()