- 论坛徽章:
- 0
|
这些理论知识很有用的, 特别是实时操作系统.
wikipedia上关于实时操作系统的简介:
An RTOS facilitates the creation of a real-time system, but does not guarantee the final result will be real-time; this requires correct development of the software. An RTOS does not necessarily have high throughput; rather, an RTOS provides facilities which, if used properly, guarantee deadlines can be met generally (soft real-time) or deterministically (hard real-time). An RTOS will typically use specialized scheduling algorithms in order to provide the real-time developer with the tools necessary to produce deterministic behavior in the final system. An RTOS is valued more for how quickly and/or predictably it can respond to a particular event than for the given amount of work it can perform over time. Key factors in an RTOS are therefore a minimal interrupt latency and a minimal thread switching latency.
hard real-time就是说程序的正确执行完全依赖时间, 如果任务不能在指定时间内完成, 就意味着重大失败. soft real-time是说允许一定程度上的延迟, 可能引起一些可以容忍的问题. |
|