No subject


Sat Jan 6 16:16:54 PST 2018


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