Lines Matching refs:Thread
34 Thread* thread = reinterpret_cast<Thread*>(data); in ThreadRunner()
51 data_size_ = (max_threads_ * sizeof(Thread) + pagesize - 1) & ~(pagesize - 1); in Threads()
52 max_threads_ = data_size_ / sizeof(Thread); in Threads()
60 if (Thread::ACTION_SIZE < Action::MaxActionSize()) { in Threads()
62 Thread::ACTION_SIZE, Action::MaxActionSize()); in Threads()
65 threads_ = new (memory) Thread[max_threads_]; in Threads()
76 Thread* Threads::CreateThread(pid_t tid) { in CreateThread()
80 Thread* thread = FindEmptyEntry(tid); in CreateThread()
96 Thread* Threads::FindThread(pid_t tid) { in FindThread()
127 Thread* Threads::FindEmptyEntry(pid_t tid) { in FindEmptyEntry()
140 void Threads::Finish(Thread* thread) { in Finish()