Lines Matching defs:ThreadRegistry
86 // ThreadRegistry implementation.
88 const u32 ThreadRegistry::kUnknownTid = ~0U;
90 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
103 "ThreadRegistry");
108 void ThreadRegistry::GetNumberOfThreads(uptr *total, uptr *running,
116 uptr ThreadRegistry::GetMaxAliveThreads() {
121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid,
157 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb,
168 u32 ThreadRegistry::FindThread(FindThreadCallback cb, void *arg) {
179 ThreadRegistry::FindThreadContextLocked(FindThreadCallback cb, void *arg) {
195 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(uptr os_id) {
200 void ThreadRegistry::SetThreadName(u32 tid, const char *name) {
209 void ThreadRegistry::SetThreadNameByUserId(uptr user_id, const char *name) {
221 void ThreadRegistry::DetachThread(u32 tid, void *arg) {
239 void ThreadRegistry::JoinThread(u32 tid, void *arg) {
252 void ThreadRegistry::FinishThread(u32 tid) {
269 void ThreadRegistry::StartThread(u32 tid, uptr os_id, void *arg) {
279 void ThreadRegistry::QuarantinePush(ThreadContextBase *tctx) {
295 ThreadContextBase *ThreadRegistry::QuarantinePop() {