Home
last modified time | relevance | path

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

/art/runtime/gc/
Dtask_processor_test.cc52 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.LoadSequentiallyConsistent()); in TEST_F()
91 done_running.StoreSequentiallyConsistent(false); in TEST_F()
96 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F()
99 ASSERT_TRUE(done_running.LoadSequentiallyConsistent()); in TEST_F()
[all …]