[riot-notifications] [RIOT-OS/RIOT] cpu/arm7_common: Fix thread_yield_higher in ISR (#11887)

benpicco 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:
https://github.com/RIOT-OS/RIOT/pull/11887#pullrequestreview-286462705
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190910/4db5c440/attachment.htm>


More information about the notifications mailing list