Lines Matching refs:done_running
52 WorkUntilDoneTask(TaskProcessor* task_processor, Atomic<bool>* done_running) in WorkUntilDoneTask() argument
53 : task_processor_(task_processor), done_running_(done_running) { in WorkUntilDoneTask()
70 Atomic<bool> done_running(false); in TEST_F() local
75 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F()
77 ASSERT_FALSE(done_running); in TEST_F()
82 ASSERT_FALSE(done_running); in TEST_F()
87 ASSERT_TRUE(done_running.load(std::memory_order_seq_cst)); in TEST_F()
91 done_running.store(false, std::memory_order_seq_cst); in TEST_F()
96 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F()
99 ASSERT_TRUE(done_running.load(std::memory_order_seq_cst)); in TEST_F()
137 Atomic<bool> done_running(false); in TEST_F() local
139 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F()
140 ASSERT_FALSE(done_running.load(std::memory_order_seq_cst)); in TEST_F()
143 ASSERT_TRUE(done_running.load(std::memory_order_seq_cst)); in TEST_F()