Lines Matching refs:Thread
66 struct Thread : HashObject, scheduling_analysis_thread {
72 Thread(thread_id id)
222 size_t maxObjectSize = max_c(max_c(sizeof(Thread), sizeof(WaitObject)),
284 Thread* ThreadFor(thread_id id) const
286 return dynamic_cast<Thread*>(Lookup(ThreadKey(id)));
303 Thread* thread = ThreadFor(id);
305 void* memory = Allocate(sizeof(Thread));
309 thread = new(memory) Thread(id);
387 status_t AddThreadWaitObject(Thread* thread, uint32 type, void* object)
444 sizeof(Thread*) * fAnalysis.thread_count);
454 Thread* thread = dynamic_cast<Thread*>(object);
644 Thread* thread = manager.ThreadFor(entry->ThreadID());
669 // Thread was running and continues to run.
748 Thread* thread = manager.ThreadFor(entry->ThreadID());
751 // Thread was running and is reentered into the run queue. This
755 // Thread was waiting and is ready now.
770 Thread* thread = manager.ThreadFor(entry->ThreadID());