And indeed, with memory mapped files the distinction almost disappears completely.
Comment on Sometimes I want to call malloc, just as a treat
troyunrau@lemmy.ca 8 months agoI hate to alarm you but… What is a file system except dynamically allocated memory. ;)
sunbeam60@lemmy.one 8 months ago
Redkey@programming.dev 8 months ago
It’s a persistent dynamic memory allocation that’s accessed by multiple processes! :)
bort@feddit.de 8 months ago
multiple processes?!
Image
noli@programming.dev 8 months ago
FreeRTOS tasks are basically processes, IIRC other rtoses have similar mechanics too
owenfromcanada@lemmy.world 8 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.
frezik@midwest.social 8 months ago
Lots of microcontrollers have multiple cores now.