Revert previous revision, misunderstood the code :(
This commit is contained in:
parent
f7e33a4a67
commit
53e510d1ef
@ -182,7 +182,6 @@ kproc_suspend(struct proc *p, int timo)
|
||||
return (EINVAL);
|
||||
}
|
||||
SIGADDSET(p->p_siglist, SIGSTOP);
|
||||
PROC_UNLOCK(p);
|
||||
wakeup(p);
|
||||
return msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, "suspkp", timo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user