Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
equeue - avoid Kernel::get_ms_count from IRQ
Kernel::get_ms_count is documented as not working from IRQ. In RTOS builds it can return misleading answers - see ARM-software/CMSIS_5#625 In non-RTOS builds, it can trigger an assert, as it upsets the sleep logic. Modified code is still not ideal - could be improved further if there was a fast path for "post now" that didn't bother looking at timers (both at post time and dispatch time).
- Loading branch information