QXK callback QF_onContextSw() problem
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
The QXK callback QF_onContextSw() behaves incorrectly when switching context from extended thread to basic thread (Active Object). Specifically, in this case the next parameter is always NULL (which corresponds to the idle thread), regardless which AO is being switched to.
Anonymous
The bug affects both QXK ports to ARM Cortex-M in both QP/C and QP/C++. The bug fix has been pushed to the GitHub repos:
The fix will be included in the next QP/C and QP/C++ releases (currently planned as 7.3.5).
--MMS
Last edit: Quantum Leaps 2024-05-23
Fixed in QP/C/C++ 8.0.0.
--MMS