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:
Julian Elischer 2003-03-31 22:41:47 +00:00
parent a35394bd84
commit 0d49bb4b30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112887

View File

@ -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))