Re:Amazon FreeRTOS – IoT operating system for microcontrollers
by patja on Wednesday November 29, 2017 @08:51PM
(#15812776)
Not having to worry about a more complex OS burping, leaking, or otherwise failing on you. As one poster on the Arduino forums explained it to me once, "you never know when Linux is going to nip off for a cup of tea and interrupt your program with some system overhead tasks." You are going to get your n cycles per second, every second.
[ Parent
| on HN ]
Re:Amazon FreeRTOS – IoT operating system for microcontrollers
by ramzyo on Sunday December 03, 2017 @01:08AM
(#15836224)
This is a common misconception about RTOSes, or at least needs to be further qualified with soft real time vs hard real time OSes. RTOSes provide schedulers and multitasking mechanisms for context switching between tasks. Tasks can be assigned priorities. A higher priority task can pre-empt a lower priority task (depending on the RTOS’ scheduler implementation). In that case, you may never get your cycles, or at least not deterministically. tl;dr, depends on the scheduler implementation.