Do NOT return from an non-interruptable cv_wait, falsely
claiming to have timed out. I don't know what I was thinking..
This commit is contained in:
parent
a35394bd84
commit
0d49bb4b30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112887
@ -367,8 +367,6 @@ cv_timedwait(struct cv *cvp, struct mtx *mp, int timo)
|
||||
td->td_flags &= ~TDF_TIMOFAIL;
|
||||
}
|
||||
|
||||
if (td->td_proc->p_flag & P_WEXIT)
|
||||
rval = EWOULDBLOCK;
|
||||
mtx_unlock_spin(&sched_lock);
|
||||
#ifdef KTRACE
|
||||
if (KTRPOINT(td, KTR_CSW))
|
||||
|
Loading…
Reference in New Issue
Block a user