TP_HOLDLWP
ct->t_proc_flag &= ~TP_HOLDLWP;
(t->t_proc_flag & TP_HOLDLWP)) {
curthread->t_proc_flag &= ~TP_HOLDLWP;
if (t->t_proc_flag & TP_HOLDLWP)
t->t_proc_flag &= ~TP_HOLDLWP;
if (--p->p_lwprcnt == 0 || (t->t_proc_flag & TP_HOLDLWP) ||
t->t_proc_flag |= TP_HOLDLWP;
if ((t->t_proc_flag & TP_HOLDLWP) == 0) {
int was_suspended = t->t_proc_flag & TP_HOLDLWP;
t->t_proc_flag &= ~TP_HOLDLWP;
if (SUSPENDED(t) && !(t->t_proc_flag & TP_HOLDLWP)) {
curthread->t_proc_flag &= ~TP_HOLDLWP;
if (!(t->t_proc_flag & TP_HOLDLWP))
ct->t_proc_flag &= ~TP_HOLDLWP;
t->t_proc_flag |= TP_HOLDLWP;
t->t_proc_flag &= ~TP_HOLDLWP;
--p->p_lwprcnt == 0 || (t->t_proc_flag & TP_HOLDLWP))
(TP_PRSTOP|TP_HOLDLWP|TP_CHKPT|TP_PAUSE)))) ||
(t->t_proc_flag & TP_HOLDLWP)) && !lwp->lwp_nostop) {
if (!((t->t_proc_flag & TP_HOLDLWP) ||
t->t_proc_flag &= ~TP_HOLDLWP;
((t)->t_proc_flag & (TP_PRSTOP|TP_HOLDLWP|TP_CHKPT|TP_PAUSE)) | \
t->t_proc_flag &= ~TP_HOLDLWP;
t->t_proc_flag &= ~TP_HOLDLWP;
t->t_proc_flag = (t->t_proc_flag & ~TP_HOLDLWP) | TP_KTHREAD;