Home
last modified time | relevance | path

Searched refs:AutoSchedulerLock (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl.cc210 AutoSchedulerLock auto_lock(lock_); in Start()
277 AutoSchedulerLock auto_lock(lock_); in GetMaxConcurrentNonBlockedTasksDeprecated()
286 AutoSchedulerLock auto_lock(lock_); in WaitForWorkersIdleForTesting()
299 AutoSchedulerLock auto_lock(lock_); in WaitForAllWorkersIdleForTesting()
304 AutoSchedulerLock auto_lock(lock_); in WaitForWorkersCleanedUpForTesting()
322 AutoSchedulerLock auto_lock(lock_); in JoinForTesting()
338 AutoSchedulerLock auto_lock(lock_); in JoinForTesting()
345 AutoSchedulerLock auto_lock(lock_); in NumberOfWorkersForTesting()
350 AutoSchedulerLock auto_lock(lock_); in GetMaxTasksForTesting()
355 AutoSchedulerLock auto_lock(lock_); in NumberOfIdleWorkersForTesting()
[all …]
Dscheduler_lock.h68 class AutoSchedulerLock {
70 explicit AutoSchedulerLock(SchedulerLock& lock) : lock_(lock) { in AutoSchedulerLock() function
74 ~AutoSchedulerLock() { in ~AutoSchedulerLock()
82 DISALLOW_COPY_AND_ASSIGN(AutoSchedulerLock);
Dtask_tracker.cc312 AutoSchedulerLock auto_lock(flush_lock_); in Shutdown()
319 AutoSchedulerLock auto_lock(flush_lock_); in FlushForTesting()
329 AutoSchedulerLock auto_lock(flush_lock_); in FlushAsyncForTesting()
375 AutoSchedulerLock auto_lock(background_lock_); in WillScheduleSequence()
433 AutoSchedulerLock auto_lock(shutdown_lock_); in IsShutdownComplete()
438 AutoSchedulerLock auto_lock(shutdown_lock_); in SetHasShutdownStartedForTesting()
544 AutoSchedulerLock auto_lock(shutdown_lock_); in PerformShutdown()
583 AutoSchedulerLock auto_lock(shutdown_lock_); in PerformShutdown()
602 AutoSchedulerLock auto_lock(background_lock_); in SetMaxNumScheduledBackgroundSequences()
662 AutoSchedulerLock auto_lock(shutdown_lock_); in BeforePostTask()
[all …]
Dsequence.cc24 AutoSchedulerLock auto_lock(lock_); in PushTask()
33 AutoSchedulerLock auto_lock(lock_); in TakeTask()
45 AutoSchedulerLock auto_lock(lock_); in Pop()
57 AutoSchedulerLock auto_lock(lock_); in GetSortKey()
Dscheduler_worker.cc65 AutoSchedulerLock auto_lock(thread_lock_); in Start()
104 AutoSchedulerLock auto_lock(thread_lock_); in JoinForTesting()
115 AutoSchedulerLock auto_lock(thread_lock_); in ThreadAliveForTesting()
120 AutoSchedulerLock auto_lock(thread_lock_); in ~SchedulerWorker()
136 AutoSchedulerLock auto_lock(thread_lock_); in BeginUnusedPeriod()
142 AutoSchedulerLock auto_lock(thread_lock_); in EndUnusedPeriod()
148 AutoSchedulerLock auto_lock(thread_lock_); in GetLastUsedTime()
Dscheduler_worker_unittest.cc106 AutoSchedulerLock auto_lock(lock_); in WaitForNumGetWork()
112 AutoSchedulerLock auto_lock(lock_); in SetMaxGetWork()
117 AutoSchedulerLock auto_lock(lock_); in SetNumSequencesToCreate()
123 AutoSchedulerLock auto_lock(lock_); in NumRunTasks()
128 AutoSchedulerLock auto_lock(lock_); in CreatedSequences()
133 AutoSchedulerLock auto_lock(lock_); in EnqueuedSequences()
157 AutoSchedulerLock auto_lock(outer_->lock_); in OnMainEntry()
167 AutoSchedulerLock auto_lock(outer_->lock_); in GetWork()
197 AutoSchedulerLock auto_lock(outer_->lock_); in GetWork()
208 AutoSchedulerLock auto_lock(expect_did_run_task_lock_); in DidRunTask()
[all …]
Dscheduler_single_thread_task_runner_manager.cc105 AutoSchedulerLock auto_lock(sequence_lock_); in GetWork()
114 AutoSchedulerLock auto_lock(sequence_lock_); in ReEnqueueSequence()
139 AutoSchedulerLock auto_lock(sequence_lock_); in OnMainExit()
151 AutoSchedulerLock auto_lock(sequence_lock_); in sequence()
420 AutoSchedulerLock auto_lock(lock_); in Start()
486 AutoSchedulerLock auto_lock(lock_); in CreateTaskRunnerWithTraitsImpl()
514 AutoSchedulerLock auto_lock(lock_); in JoinForTesting()
522 AutoSchedulerLock auto_lock(lock_); in JoinForTesting()
605 AutoSchedulerLock auto_lock(lock_); in UnregisterSchedulerWorker()
629 AutoSchedulerLock auto_lock(lock_); in ReleaseSharedSchedulerWorkers()
Dlazy_task_runner.cc110 internal::AutoSchedulerLock auto_lock(lock_); in ~ScopedLazyTaskRunnerListForTesting()
117 internal::AutoSchedulerLock auto_lock(lock_); in AddCallback()
Ddelayed_task_manager.cc32 AutoSchedulerLock auto_lock(lock_); in Start()
70 AutoSchedulerLock auto_lock(lock_); in AddDelayedTask()
Dpriority_queue.h67 AutoSchedulerLock auto_lock_;
Dtask_tracker_unittest.cc232 AutoSchedulerLock auto_lock(lock_); in NumTasksExecuted()
241 AutoSchedulerLock auto_lock(lock_); in RunTaskCallback()