Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: base/task_scheduler/scheduler_worker_thread.cc

Issue 2019763002: TaskScheduler: Atomic operations in TaskTracker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR gab #26 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/task_scheduler/task_tracker.h » ('j') | base/task_scheduler/task_tracker.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/scheduler_worker_thread.cc
diff --git a/base/task_scheduler/scheduler_worker_thread.cc b/base/task_scheduler/scheduler_worker_thread.cc
index afc70ec360ba136aee7b0e1dc719facaf678d284..98bab322345d87ac25fbae8c24dbd945eeb14be0 100644
--- a/base/task_scheduler/scheduler_worker_thread.cc
+++ b/base/task_scheduler/scheduler_worker_thread.cc
@@ -65,7 +65,7 @@ void SchedulerWorkerThread::ThreadMain() {
// A SchedulerWorkerThread starts out sleeping.
wake_up_event_.Wait();
- while (!task_tracker_->shutdown_completed() && !ShouldExitForTesting()) {
+ while (!task_tracker_->ShutdownCompleted() && !ShouldExitForTesting()) {
// Get the sequence containing the next task to execute.
scoped_refptr<Sequence> sequence = delegate_->GetWork(this);
« no previous file with comments | « no previous file | base/task_scheduler/task_tracker.h » ('j') | base/task_scheduler/task_tracker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698