No subject


Thu Nov 20 16:09:27 PST 2014


static __inline void
crit_enter(void)
{
    struct thread *td = curthread;
#ifdef INVARIANTS
    if (td->td_pri < 0)
        crit_panic();
#endif
    td->td_pri += TDPRI_CRIT;
}
If one were to add a simple print statement into crit_enter()
to print the current value of the nesting depth, you'll find we
are several hundreds deep already.
-DR






More information about the Submit mailing list