Both priority inheritance protocol and priority ceiling protocol are common solutions to priority inversion in real-time system (RTOS).
优先级继承协议和天花板优先级协议都可在一定程度上解决实时系统(RTOS)中的优先级倒置。
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.
介绍了优先级反转问题的理论模型,详细分析和比较了解决优先级反转问题的常规方案——优先级继承协议和优先级天花板协议。
Only the owning task may successfully call semGive. The VxWorks mutex also has the ability to support both priority inheritance (basic priority inheritance protocol) and deletion safety.
只有当前任务才能释放锁,同时还支持优先级继承(基本优先级继承协议)和死亡安全监测。
A POSIX API for creating a pthread_mutex lets the mutex implement the priority-inheritance protocol.
用于创建pthread _ mutex的POSIXAPI使用互斥锁来实现优先级继承协议。
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.
当优先级反转发生时,优先级较低的任务被暂时地提高它的优先级,使得该任务能尽快执行,释放出优先级较高的任务所需要的资源。
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.
当优先级反转发生时,优先级较低的任务被暂时地提高它的优先级,使得该任务能尽快执行,释放出优先级较高的任务所需要的资源。
应用推荐