Lines Matching refs:thr
76 Thread *thr;
138 thr = Thread_Create(proc);
140 Log(syscall, "SPAWN %lx\n", thr);
149 Loader_Load(thr, file, pg, 1024);
152 Thread_SetupUThread(thr, proc->entrypoint, MEM_USERSPACE_STKTOP - PGSIZE);
155 argstart = (char *)DMPA2VA(PMap_Translate(thr->space, MEM_USERSPACE_STKTOP - PGSIZE));
160 Sched_SetRunnable(thr);
447 Thread *thr = (Thread *)arg;
449 Sched_SetRunnable(thr);
450 KTimer_Release(thr->timerEvt);
451 thr->timerEvt = NULL;
452 Thread_Release(thr);