The second way is priority ceiling emulation.
第二种方法是使用优先级封顶模拟(priority ceiling emulation)。
This solution effectively implements an Immediate Priority Ceiling algorithm.
这个实现起来很有效率,并且直接提升优先级。
The Priority Ceiling protocol can help mitigate potential Priority Inversion problems.
优先级提升协定可以帮助减轻潜在的优先级反转问题。
This method also implements a form of priority ceiling. The ceiling is the priority of the server thread itself.
这个方法也实现了一类优先级提升。提升的优先级为服务线程自身的优先级。
As policy, you should prefer priority ceiling over priority inheritance since it avoids deadlocks as a side-effect.
作为政策,你应该更喜欢优先级天花板对优先级继承,因为它避免了死锁的副作用。
Finally the Realtime Threads Feature Group adds mutex support for both priority inheritance and priority ceiling protocols.
最后,实时线程组为互斥锁支持了优先级继承协议和优先级天花板协议。
Both priority inheritance protocol and priority ceiling protocol are common solutions to priority inversion in real-time system (RTOS).
优先级继承协议和天花板优先级协议都可在一定程度上解决实时系统(RTOS)中的优先级倒置。
The details of the Priority Inheritance Protocol and Priority Ceiling Protocol (a slight variant) will be covered in part 3 of this series.
这两个协议的详细信息会在这个系列的第三篇文章中给出。
With the priority ceiling Protocol (PCP) method each mutex has a defined priority ceiling, set to that of the highest priority task which USES the mutex.
使用优先级天花板协议(PCP),每个互斥锁都有最大优先级,设为需要这个锁的任务的优先级的最大值。
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.
介绍了优先级反转问题的理论模型,详细分析和比较了解决优先级反转问题的常规方案——优先级继承协议和优先级天花板协议。
However with a PCP mutex, both the ADC and DAC mutex will have a ceiling priority equal to the SI's task priority.
然而,如果使用的是PCP互斥锁,ADC和DAC都有一个天花板值,都等于认证任务的优先级。
However with a PCP mutex, both the ADC and DAC mutex will have a ceiling priority equal to the SI's task priority.
然而,如果使用的是PCP互斥锁,ADC和DAC都有一个天花板值,都等于认证任务的优先级。
应用推荐