Lines Matching refs:ThreadState
42 ThreadState *caller_thr = static_cast<ThreadState *>(arg);
48 ThreadState *thr;
76 ThreadState *thr1 = static_cast<ThreadState*>(arg);
81 ThreadState *thr;
95 new(thr) ThreadState(ctx, tid, unique_id, epoch0, reuse_count,
151 thr->~ThreadState();
198 static void ThreadCheckIgnore(ThreadState *thr) {
207 static void ThreadCheckIgnore(ThreadState *thr) {}
210 void ThreadFinalize(ThreadState *thr) {
228 int ThreadCount(ThreadState *thr) {
234 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) {
245 void ThreadStart(ThreadState *thr, int tid, tid_t os_id,
280 void ThreadFinish(ThreadState *thr) {
313 int ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) {
321 void ThreadJoin(ThreadState *thr, uptr pc, int tid) {
328 void ThreadDetach(ThreadState *thr, uptr pc, int tid) {
334 void ThreadNotJoined(ThreadState *thr, uptr pc, int tid, uptr uid) {
340 void ThreadSetName(ThreadState *thr, const char *name) {
344 void MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr,
427 void FiberSwitchImpl(ThreadState *from, ThreadState *to) {
434 ThreadState *FiberCreate(ThreadState *thr, uptr pc, unsigned flags) {
435 void *mem = internal_alloc(MBlockThreadContex, sizeof(ThreadState));
436 ThreadState *fiber = static_cast<ThreadState *>(mem);
445 void FiberDestroy(ThreadState *thr, uptr pc, ThreadState *fiber) {
452 void FiberSwitch(ThreadState *thr, uptr pc,
453 ThreadState *fiber, unsigned flags) {