Hacker News new | ask | show | jobs
by 3flp 1473 days ago
In my world of embedded single core processors, we use "multi-threaded" code all the time. There is a single core so nothing truly ever executes in parallel and that makes it easier: Someone else already wrote the RTOS, and figured out how to prevent priority inversion, etc. So long as one follows a few rules, and the general pattern is tasks and ISRs communicating via the primitives provided by the RTOS, there are never any issues.
1 comments

The embedded world has interrupts to worry about.