On Fri, 27 Oct 2023 10:45:03 +0200 Morten Brørup <m...@smartsharesystems.com> wrote:
> Is it 100 % certain that the system becomes unstable if not sleeping or using > blocking system calls from a real-time thread? > And technically, it's not the thread itself that becomes unstable. My experience is that the goal of real time threads is "do not let kernel have higher priority than this thread". That means that if/when a kernel worker is needed on this core, instability happens. It is very hard but possible to ensure that a kernel worker thread never runs on that core. But if you are able to do configure that, then there is no point in using RT threads. The best design is to avoid the kernel needing to run, and if it does then let it run.