PS_STOPPING
if (p->p_stat == SSTOP || (p->p_sflag & PS_STOPPING) != 0) {
p->p_sflag &= ~PS_STOPPING;
p->p_stat == SACTIVE && (p->p_sflag & PS_STOPPING) == 0 &&
if (p->p_stat == SACTIVE && (p->p_sflag & PS_STOPPING) == 0) {
p->p_sflag &= ~PS_STOPPING;
KASSERT((p->p_sflag & PS_STOPPING) != 0);
KASSERT((p->p_sflag & PS_STOPPING) != 0);
p->p_sflag &= ~PS_STOPPING;
if ((p->p_sflag & PS_STOPPING) != 0) {
if (p->p_stat == SACTIVE && (p->p_sflag & PS_STOPPING) == 0) {
if ((p->p_sflag & PS_STOPPING) != 0) {
if (p->p_nrlwps == 1 && (p->p_sflag & PS_STOPPING) != 0) {
if (p->p_stat == SSTOP || (p->p_sflag & PS_STOPPING) != 0) {
(p->p_sflag & PS_STOPPING) != 0)
if (p->p_stat == SSTOP || (p->p_sflag & PS_STOPPING) != 0) {
p->p_sflag |= PS_STOPPING;
if ((p->p_sflag & PS_STOPPING) == 0) {
p->p_sflag &= ~PS_STOPPING;
if ((p->p_sflag & PS_STOPPING) != 0) {
if ((p->p_sflag & PS_STOPPING) != 0) {