Lines Matching refs:thread_registry
27 static ThreadRegistry *thread_registry; variable
40 thread_registry = new(thread_registry_placeholder) in InitializeThreadRegistry()
86 return thread_registry->CreateThread(user_id, detached, parent_tid, in ThreadCreate()
100 thread_registry->StartThread(tid, os_id, &args); in ThreadStart()
104 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
108 if (!thread_registry) return nullptr; in CurrentThreadContext()
112 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
124 return thread_registry->FindThread(FindThreadByUid, (void*)uid); in ThreadTid()
129 thread_registry->JoinThread(tid, /* arg */nullptr); in ThreadJoin()
143 thread_registry->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked()
160 thread_registry->Lock(); in LockThreadRegistry()
164 thread_registry->Unlock(); in UnlockThreadRegistry()