[riot-notifications] [RIOT-OS/RIOT] cpu/arm7_common: Fix thread_yield_higher in ISR (#11887)
notifications at github.com
Wed Sep 11 00:08:14 CEST 2019
benpicco approved this pull request.
I don't have hardware to test, but the change is easy to follow nonetheless.
`sched_context_switch_request` is evaluated by [`arm_irq_handler`](https://github.com/RIOT-OS/RIOT/blob/master/cpu/arm7_common/common.s#L112) right after the ISR (which is the only piece of code that could call `thread_yield_higher()` in interrupt context) has been executed.
When not in interrupt context, a Supervisor Call is executed as before.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications