summaryrefslogtreecommitdiff
path: root/runtime/thread_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/thread_pool.h')
-rw-r--r--runtime/thread_pool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/thread_pool.h b/runtime/thread_pool.h
index 6d176546c3..96317ad13d 100644
--- a/runtime/thread_pool.h
+++ b/runtime/thread_pool.h
@@ -192,10 +192,10 @@ class AbstractThreadPool {
Mutex task_queue_lock_;
ConditionVariable task_queue_condition_ GUARDED_BY(task_queue_lock_);
ConditionVariable completion_condition_ GUARDED_BY(task_queue_lock_);
- volatile bool started_ GUARDED_BY(task_queue_lock_);
- volatile bool shutting_down_ GUARDED_BY(task_queue_lock_);
+ bool started_ GUARDED_BY(task_queue_lock_);
+ bool shutting_down_ GUARDED_BY(task_queue_lock_);
// How many worker threads are waiting on the condition.
- volatile size_t waiting_count_ GUARDED_BY(task_queue_lock_);
+ size_t waiting_count_ GUARDED_BY(task_queue_lock_);
std::vector<ThreadPoolWorker*> threads_;
// Work balance detection.
uint64_t start_time_ GUARDED_BY(task_queue_lock_);