I just saw an issue with a "priority order violation" after an unlock.
My code looks like:
Code: Select all
chSysLock();
chEvtBroadcastFlagsI(&menu_es, 0);
chMtxUnlockAllS();
chSysUnlock();
Shouldn't the chMtxUnlockAllS() reschedule in any case?
I was stepping with the debugger in a second thread while this occur.