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

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


The rmutex approach in __mallo_lock/unlock functions might not be working:

- It would not be possible to use malloc in ISRs.
- I'm not sure for AVR, but if interrupts are not disabled, a context switch might happen when returning from an ISR.

Maybe, __ malloc_lock/unlock functions should simply disable/enable interrupts.

-- 
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/issues/10842#issuecomment-456871643
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190123/21f8bbde/attachment.html>


More information about the notifications mailing list