Lines Matching defs:pc
116 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) {
122 arg.stack = CurrentStackId(thr, pc);
195 const uptr pc = StackTrace::GetNextInstructionPc(
197 MemoryRangeImitateWrite(thr, pc, stk_addr, stk_size);
284 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) {
293 void ThreadJoin(ThreadState *thr, uptr pc, Tid tid) {
316 void ThreadDetach(ThreadState *thr, uptr pc, Tid tid) {
323 void ThreadNotJoined(ThreadState *thr, uptr pc, Tid tid, uptr uid) {
340 ThreadState *FiberCreate(ThreadState *thr, uptr pc, unsigned flags) {
344 Tid tid = ThreadCreate(thr, pc, 0, true);
351 void FiberDestroy(ThreadState *thr, uptr pc, ThreadState *fiber) {
358 void FiberSwitch(ThreadState *thr, uptr pc,
361 Release(thr, pc, (uptr)fiber);
364 Acquire(fiber, pc, (uptr)fiber);