Argh, add in a missing release of the sched_lock.

This commit is contained in:
jhb 2000-11-16 01:16:54 +00:00
parent 534ed28202
commit 3c1c213868

View File

@ -678,6 +678,7 @@ mawait(struct mtx *mtx, int priority, int timo)
ktrcsw(p->p_tracep, 0, 0);
#endif
rval = EWOULDBLOCK;
mtx_exit(&sched_lock, MTX_SPIN);
goto out;
}
} else if (timo)