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

Marian Buschsieweke notifications at github.com
Thu Jan 7 22:30:51 CET 2021


> 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.

The function right now contains a plain volatile store and afterwards the WFI instruction. This is very valid to make some reasonable assumptions about this.

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


More information about the notifications mailing list