Lines Matching refs:Thread
36 extern Thread *curProc[MAX_CPUS];
58 Slab_Init(&threadSlab, "Thread Objects", sizeof(Thread), 16);
81 Thread *apthr = Thread_Create(kernelProcess);
92 * Thread
95 Thread *
98 Thread *thr = (Thread *)Slab_Alloc(&threadSlab);
135 Thread *
138 Thread *thr = Thread_Create(kernelProcess);
147 Thread *
148 Thread_UThreadCreate(Thread *oldThr, uint64_t rip, uint64_t arg)
151 Thread *thr = (Thread *)Slab_Alloc(&threadSlab);
195 Thread_Destroy(Thread *thr)
224 * @param [in] tid Thread ID of the thread to find.
228 Thread *
231 Thread *t;
232 Thread *thr = NULL;
253 Thread_Retain(Thread *thr)
265 Thread_Release(Thread *thr)
279 Thread_Wait(Thread *thr, uint64_t tid)
281 Thread *t;
328 Thread_Dump(Thread *thr)
356 Thread *thr;
363 kprintf("Running Thread CPU %d: %d(%016llx) %d\n", i, thr->tid, thr, thr->ctxSwitches);
369 kprintf("Runnable Thread: %d(%016llx) %d\n", thr->tid, thr, thr->ctxSwitches);
374 kprintf("Waiting Thread: %d(%016llx) %d\n", thr->tid, thr, thr->ctxSwitches);
386 Thread *thr = curProc[CPU()];
388 kprintf("Current Thread State:\n");