Lines Matching refs:ThreadState

74 static void ThreadCheckIgnore(ThreadState *thr) {  in ThreadCheckIgnore()
83 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore()
86 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize()
104 int ThreadCount(ThreadState *thr) { in ThreadCount()
116 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate()
145 ThreadState *thr;
152 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, in ThreadStart()
203 thr = static_cast<ThreadState *>(arg); in OnStarted()
205 new (thr) ThreadState(tid); in OnStarted()
214 void ThreadFinish(ThreadState *thr) { in ThreadFinish()
250 thr->~ThreadState(); in ThreadFinish()
284 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadConsumeTid()
293 void ThreadJoin(ThreadState *thr, uptr pc, Tid tid) { in ThreadJoin()
316 void ThreadDetach(ThreadState *thr, uptr pc, Tid tid) { in ThreadDetach()
323 void ThreadNotJoined(ThreadState *thr, uptr pc, Tid tid, uptr uid) { in ThreadNotJoined()
328 void ThreadSetName(ThreadState *thr, const char *name) { in ThreadSetName()
333 void FiberSwitchImpl(ThreadState *from, ThreadState *to) { in FiberSwitchImpl()
340 ThreadState *FiberCreate(ThreadState *thr, uptr pc, unsigned flags) { in FiberCreate()
341 void *mem = Alloc(sizeof(ThreadState)); in FiberCreate()
342 ThreadState *fiber = static_cast<ThreadState *>(mem); in FiberCreate()
351 void FiberDestroy(ThreadState *thr, uptr pc, ThreadState *fiber) { in FiberDestroy()
358 void FiberSwitch(ThreadState *thr, uptr pc, in FiberSwitch()
359 ThreadState *fiber, unsigned flags) { in FiberSwitch()