No subject


Sat Aug 1 23:38:15 PDT 2015


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