P_SINTR
if (flag & P_SINTR) /* interruptible (long) */
atomic_clearbits_int(&p->p_flag, P_INSCHED|P_SINTR);
if (p->p_flag & P_SINTR)
if ((p->p_flag & P_SINTR) == 0)
if (q->p_flag & P_SINTR) {
if (p->p_flag & P_SINTR)
atomic_setbits_int(&p->p_flag, P_SINTR);
catch = p->p_flag & P_SINTR;
atomic_clearbits_int(&p->p_flag, P_SINTR);
if ((p1->p_flag & P_SINTR) && !(p2->p_flag & P_SINTR))
if (!(p1->p_flag & P_SINTR) && (p2->p_flag & P_SINTR))
if (p1->p_flag & P_SINTR && (p2->p_flag & P_SINTR) == 0)
if (p2->p_flag & P_SINTR && (p1->p_flag & P_SINTR) == 0)