Revert previous revision, misunderstood the code :(
This commit is contained in:
parent
259e101831
commit
9aa97da69e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235301
@ -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…
Reference in New Issue
Block a user