priority order violation Topic is solved
Posted: Tue Mar 17, 2020 4:04 pm
Hi,
I just saw an issue with a "priority order violation" after an unlock.
My code looks like:
Shouldn't the chMtxUnlockAllS() reschedule in any case?
I was stepping with the debugger in a second thread while this occur.
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.