Lines Matching refs:ThreadState
74 static void ThreadCheckIgnore(ThreadState *thr) {
83 static void ThreadCheckIgnore(ThreadState *thr) {}
86 void ThreadFinalize(ThreadState *thr) {
104 int ThreadCount(ThreadState *thr) {
116 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) {
145 ThreadState *thr;
152 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id,
210 thr = new (arg) ThreadState(tid);
216 void ThreadFinish(ThreadState *thr) {
252 thr->~ThreadState();
286 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) {
295 void ThreadJoin(ThreadState *thr, uptr pc, Tid tid) {
318 void ThreadDetach(ThreadState *thr, uptr pc, Tid tid) {
325 void ThreadNotJoined(ThreadState *thr, uptr pc, Tid tid, uptr uid) {
330 void ThreadSetName(ThreadState *thr, const char *name) {
335 void FiberSwitchImpl(ThreadState *from, ThreadState *to) {
342 ThreadState *FiberCreate(ThreadState *thr, uptr pc, unsigned flags) {
343 void *mem = Alloc(sizeof(ThreadState));
344 ThreadState *fiber = static_cast<ThreadState *>(mem);
353 void FiberDestroy(ThreadState *thr, uptr pc, ThreadState *fiber) {
360 void FiberSwitch(ThreadState *thr, uptr pc,
361 ThreadState *fiber, unsigned flags) {