Comment on Sometimes I want to call malloc, just as a treat
Redkey@programming.dev 9 months agoIt’s a persistent dynamic memory allocation that’s accessed by multiple processes! :)
Comment on Sometimes I want to call malloc, just as a treat
Redkey@programming.dev 9 months agoIt’s a persistent dynamic memory allocation that’s accessed by multiple processes! :)
bort@feddit.de 9 months ago
multiple processes?!
Image
noli@programming.dev 9 months ago
FreeRTOS tasks are basically processes, IIRC other rtoses have similar mechanics too
owenfromcanada@lemmy.world 9 months ago
If you want to get really freaky, try accessing the same flash or RAM from multiple instances of FreeRTOS running on a hypervisor.
noli@programming.dev 9 months ago
Is that just like the shared memory model of parallel computing or are there any added complications? Have you done this before? Please do share your experiences if so cause now I’m interested :p
frezik@midwest.social 9 months ago
Lots of microcontrollers have multiple cores now.