Lines Matching refs:curthread
84 proc_t *p = ttoproc(curthread); in syslwp_suspend()
101 proc_t *p = ttoproc(curthread); in syslwp_continue()
118 proc_t *p = ttoproc(curthread); in lwp_kill()
174 proc_t *p = ttoproc(curthread); in lwp_wait()
176 int daemon = (curthread->t_proc_flag & TP_DAEMON)? 1 : 0; in lwp_wait()
184 if (curthread == p->p_agenttp) in lwp_wait()
190 curthread->t_waitfor = lwpid; in lwp_wait()
226 curthread->t_waitfor = -1; in lwp_wait()
273 curthread->t_waitfor = -1; in lwp_wait()
299 if (t == curthread) { in lwp_wait()
352 curthread->t_waitfor = -1; in lwp_wait()
361 proc_t *p = ttoproc(curthread); in lwp_detach()
394 proc_t *p = ttoproc(curthread); in lwp_unpark()
426 proc_t *p = ttoproc(curthread); in lwp_unpark_cancel()
455 kthread_t *t = curthread; in lwp_park()
549 proc_t *p = ttoproc(curthread); in lwp_unpark_all()