Lines Matching refs:ThreadState

78 static void ThreadCheckIgnore(ThreadState *thr) {  in ThreadCheckIgnore()
87 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore()
90 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize()
108 int ThreadCount(ThreadState *thr) { in ThreadCount()
115 ThreadState *thr;
119 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate()
144 ThreadState *thr;
151 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, in ThreadStart()
202 ThreadState(ctx, tid, unique_id, epoch0, reuse_count, args->stk_addr, in OnStarted()
223 void ThreadFinish(ThreadState *thr) { in ThreadFinish()
264 thr->~ThreadState(); in OnFinished()
273 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadConsumeTid()
277 void ThreadJoin(ThreadState *thr, uptr pc, Tid tid) { in ThreadJoin()
285 ThreadState *caller_thr = static_cast<ThreadState *>(arg); in OnJoined()
292 void ThreadDetach(ThreadState *thr, uptr pc, Tid tid) { in ThreadDetach()
299 ThreadState *thr1 = static_cast<ThreadState *>(arg); in OnDetached()
303 void ThreadNotJoined(ThreadState *thr, uptr pc, Tid tid, uptr uid) { in ThreadNotJoined()
309 void ThreadSetName(ThreadState *thr, const char *name) { in ThreadSetName()
314 void FiberSwitchImpl(ThreadState *from, ThreadState *to) { in FiberSwitchImpl()
321 ThreadState *FiberCreate(ThreadState *thr, uptr pc, unsigned flags) { in FiberCreate()
322 void *mem = Alloc(sizeof(ThreadState)); in FiberCreate()
323 ThreadState *fiber = static_cast<ThreadState *>(mem); in FiberCreate()
332 void FiberDestroy(ThreadState *thr, uptr pc, ThreadState *fiber) { in FiberDestroy()
339 void FiberSwitch(ThreadState *thr, uptr pc, in FiberSwitch()
340 ThreadState *fiber, unsigned flags) { in FiberSwitch()