Lines Matching defs:thread
105 #include <kern/thread.h>
167 void * get_user_regs(thread_t); /* XXX kludge for <machine/thread.h> */
438 /* There is no other bsd thread this point and is safe without pgrp lock */
484 /* give the (already exisiting) initial thread a reference on it */
555 * SIDE EFFECT: Starts a thread for bcleanbuf_thread(), so must
889 thread_t thread;
895 thread = current_thread();
905 ut = (uthread_t)get_bsdthread_info(thread);
907 bsd_init_task = get_threadtask(thread);
991 thread_t thread;
994 thread = cloneproc(kernproc, 0);
1006 ut = (struct uthread *)get_bsdthread_info(thread);
1008 act_set_astbsd(thread);
1009 (void) thread_resume(thread);