[riot-notifications] [RIOT-OS/RIOT] Preemption of malloc on AVR (#10842)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications