Lines Matching refs:thread
30 Thread thread;
32 // A thread should be ready immediately. If not, this will hang forever.
33 thread.WaitForReady();
38 Thread* thread = thread_data->first;
41 thread->WaitForReady();
48 Thread thread;
50 thread_data_t thread_data = std::make_pair(&thread, &finish);
52 thread.SetPending();
61 thread.ClearPending();
68 Thread* thread = thread_data->first;
71 thread->WaitForPending();
78 Thread thread;
80 thread_data_t thread_data = std::make_pair(&thread, &finish);
89 thread.SetPending();
96 Thread thread;
98 ASSERT_TRUE(thread.pointers() == nullptr);
99 thread.set_pointers(&pointers);
100 ASSERT_TRUE(thread.pointers() == &pointers);
104 Thread thread;
106 Action* action = thread.CreateAction(0x1234, "thread_done", "");
107 ASSERT_EQ(action, thread.GetAction());