Lines Matching refs:curthread
85 proc_t *p = ttoproc(curthread); in syslwp_suspend()
102 proc_t *p = ttoproc(curthread); in syslwp_continue()
119 proc_t *p = ttoproc(curthread); in lwp_kill()
175 proc_t *p = ttoproc(curthread); in lwp_wait()
177 int daemon = (curthread->t_proc_flag & TP_DAEMON)? 1 : 0; in lwp_wait()
185 if (curthread == p->p_agenttp) in lwp_wait()
191 curthread->t_waitfor = lwpid; in lwp_wait()
228 curthread->t_waitfor = -1; in lwp_wait()
275 curthread->t_waitfor = -1; in lwp_wait()
301 if (t == curthread) { in lwp_wait()
354 curthread->t_waitfor = -1; in lwp_wait()
363 proc_t *p = ttoproc(curthread); in lwp_detach()
396 proc_t *p = ttoproc(curthread); in lwp_unpark()
428 proc_t *p = ttoproc(curthread); in lwp_unpark_cancel()
457 kthread_t *t = curthread; in lwp_park()
551 proc_t *p = ttoproc(curthread); in lwp_unpark_all()