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
@ -367,8 +367,6 @@ cv_timedwait(struct cv *cvp, struct mtx *mp, int timo)
|
|||||||
td->td_flags &= ~TDF_TIMOFAIL;
|
td->td_flags &= ~TDF_TIMOFAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (td->td_proc->p_flag & P_WEXIT)
|
|
||||||
rval = EWOULDBLOCK;
|
|
||||||
mtx_unlock_spin(&sched_lock);
|
mtx_unlock_spin(&sched_lock);
|
||||||
#ifdef KTRACE
|
#ifdef KTRACE
|
||||||
if (KTRPOINT(td, KTR_CSW))
|
if (KTRPOINT(td, KTR_CSW))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user