Lines Matching defs:ThreadContext
30 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext");
31 return new(mem) ThreadContext(tid);
51 ThreadContext::ThreadContext(int tid)
66 void ThreadContext::OnStarted(void *arg) {
76 void ThreadContext::OnFinished() {
101 ThreadContext *CurrentThreadContext() {
106 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread());
136 ThreadContext *context = static_cast<ThreadContext *>(