Why a general operating system cannot promise
A control loop must run every 5 ms without fail. It is written as a high-priority process on a general-purpose operating system, and it usually meets the deadline.
Why is this insufficient for a hard real-time requirement?