[riot-notifications] [RIOT-OS/RIOT] fe310: Fix potential deadlock in thread_yield_higher (#15277)

nmeum notifications at github.com
Thu Jan 7 20:23:10 CET 2021


> Hence, WFI cannot be a `nop` and will be reached before the soft IRQ is triggered. So IMO there is no bug in the code.

You are still making assumptions about how many cycles it will take until the WFI instruction is reached and whether or not the interrupt is raised before it is which also depends on the code generated by the compiler et cetera.

-- 
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/15277#issuecomment-756326422
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210107/b47920c7/attachment.htm>


More information about the notifications mailing list