How do Real Time Operating Systems work?

后端 未结 12 807
借酒劲吻你
借酒劲吻你 2021-01-31 04:12

I mean how and why are realtime OSes able to meet deadlines without ever missing them? Or is this just a myth (that they do not miss deadlines)? How are they different from any

12条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 04:47

    The textbook/interview answer is "deterministic pre-emption". The system is guaranteed to transfer control within a bounded period of time if a higher priority process is ready to run (in the ready queue) or an interrupt is asserted (typically input external to the CPU/MCU).

提交回复
热议问题