[riot-notifications] [RIOT-OS/RIOT] Preemption of malloc on AVR (#10842)

Gunar Schorcht notifications at github.com
Wed Jan 23 19:19:34 CET 2019

The question is whether the use of "malloc" should be really prohibited in the interrupt context. There are certainly use cases, e.g., network device drivers, in which an ISR stores data in a piece of dynamically allocated memory to provide them to to the user of the driver.

Even it is not related to this issue, it woud be a probably a good idea to have `assert()` in `mutex` functions to avoid their usage in interrupt context.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190123/85d87489/attachment.html>

More information about the notifications mailing list