After introducing the priority inversion problem, analyzing and comparing the regular design of priority in-version program in detail: priority inheritance protocol and priority ceiling protocol.
介绍了优先级反转问题的理论模型,详细分析和比较了解决优先级反转问题的常规方案——优先级继承协议和优先级天花板协议。
The details of the Priority Inheritance Protocol and Priority Ceiling Protocol (a slight variant) will be covered in part 3 of this series.
这两个协议的详细信息会在这个系列的第三篇文章中给出。
The priority-inheritance protocol assures that a task that owns a resource executes at the priority of the highest-priority task blocked on that resource.
当优先级反转发生时,优先级较低的任务被暂时地提高它的优先级,使得该任务能尽快执行,释放出优先级较高的任务所需要的资源。
应用推荐