Lines Matching refs:t
199 // Don't free kernel threads
226 * @retval NULL if the thread isn't found.
231 Thread *t;
235 TAILQ_FOREACH(t, &proc->threadList, threadList) {
236 if (t->tid == tid) {
237 Thread_Retain(t);
238 thr = t;
281 Thread *t;
287 t = TAILQ_FIRST(&thr->proc->zombieQueue);
288 if (!t) {
292 TAILQ_REMOVE(&thr->proc->zombieQueue, t, schedQueue);
293 status = t->exitValue;
294 Thread_Release(t);
299 TAILQ_FOREACH(t, &thr->proc->zombieQueue, schedQueue) {
300 if (t->tid == tid) {
301 TAILQ_REMOVE(&thr->proc->zombieQueue, t, schedQueue);
302 status = t->exitValue;
303 Thread_Release(t);