Lines Matching refs:u32
36 explicit ThreadContextBase(u32 tid);
39 const u32 tid; // Thread ID. Main thread should have tid = 0.
41 u32 reuse_count; // Number of times this tid was reused.
49 u32 parent_tid;
59 u32 _parent_tid, void *arg);
73 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid);
77 static const u32 kUnknownTid;
79 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
80 u32 thread_quarantine_size, u32 max_reuse = 0);
89 ThreadContextBase *GetThreadLocked(u32 tid) {
94 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
104 u32 FindThread(FindThreadCallback cb, void *arg);
111 void SetThreadName(u32 tid, const char *name);
113 void DetachThread(u32 tid);
114 void JoinThread(u32 tid, void *arg);
115 void FinishThread(u32 tid);
116 void StartThread(u32 tid, uptr os_id, void *arg);
120 const u32 max_threads_;
121 const u32 thread_quarantine_size_;
122 const u32 max_reuse_;
126 u32 n_contexts_; // Number of created thread contexts,