5 ms·
Exactly, FreeRTOS makes it trivial to spin up 20 threads... who was doing that with MS-DOS?
by dls2016 6y ago
Exactly, FreeRTOS makes it trivial to spin up 20 threads... who was doing that with MS-DOS?
- pjmlp 6y agoYou wouldn't, because the whole point of bare metal is to ignore the OS and use directly the BIOS and hardware. And regarding threads, we would use cooperative concurrency, and also take ownership of the timer interrupt. Anything is easy when there is an abstraction implemented as library. Games and demoscene tricks.
- MrBuddyCasino 6y agoI don't understand why they used a wasteful threaded model instead of an event reactor. It makes no sense to me on a constrained embedded platform. The right way to do it is Japaric's "Real-Time Interrupt-driven Concurrency". Only works for ARM cores though...