优先级继承由RTSJ规定。
这些锁基于优先级继承并且其持有时间较短。
These locks are based on priority inheritance and are held for short time intervals.
优先级继承是一种用于避免优先级反转的技术。
Priority inheritance is a technique for avoiding priority inversion.
优先级继承技术可以避免常见的优先级反转问题。
Priority inheritance is a technique for avoiding the classic priority inversion problem.
我们将在本文的同步概述一节对优先级继承策略作更详细的描述。
We'll describe the priority inheritance policy in more detail in this article's Synchronization overview section.
由于优先级继承的原因,RTSJ需要使用优先级调整。
Because of priority inheritance, priority adjustments are required by the RTSJ.
就是说,优先级继承需要对一组线程进行优先级提高和降低。
That is, priority inheritance could require priority boosting and deboosting of a group of threads.
基于优先级继承协议,提出了一个防止优先级反转的互斥算法。
Based on priority inheritance protocol, a muti thread mutex algorithm is presented, which can prevent deadlock and priority inversion.
一旦定位后,喷气推进实验室的工程师们就明白了用优先级继承可以防止重启。
Once diagnosed, it was clear to the JPL engineers that using priority inheritance would prevent the resets they were seeing.
另一个例子是优先级继承,它是一种锁定策略,定义了锁竞争时如何管理锁同步。
Another example is priority inheritance, a locking policy that defines how lock synchronization is managed when a lock is contested.
存在锁争用时,POSIX锁定和解锁操作将触发Linux内核优先级继承支持。
With contention, a POSIX lock and unlock operation would trigger Linux kernel priority inheritance support to occur.
图1中的第二条时间线显示了发生优先级继承时第一条时间线的锁定行为的变化情况。
The second timeline in Figure 1 shows how the locking behavior of the first timeline changes when priority inheritance is in effect.
最后,实时线程组为互斥锁支持了优先级继承协议和优先级天花板协议。
Finally the Realtime Threads Feature Group adds mutex support for both priority inheritance and priority ceiling protocols.
VxWorks的互斥锁在创建的时候,可以用一个布尔参数表示是否要优先级继承。
When created, a VxWorks mutex object accepts a Boolean parameter that indicates whether priority inheritance should be performed by the mutex.
作为政策,你应该更喜欢优先级天花板对优先级继承,因为它避免了死锁的副作用。
As policy, you should prefer priority ceiling over priority inheritance since it avoids deadlocks as a side-effect.
优先级继承背后的思想是锁争用,锁持有者的优先级被提高到希望获取锁的线程的优先级。
The idea behind priority inheritance is that at the point of lock contention, the lock holder's priority is boosted to that of the thread wishing to acquire the lock.
标准的Linux版本支持单个的默认策略,而RT Linux版本还支持优先级继承锁定策略。
Standard Linux versions support a single default policy, whereas rt Linux versions also support the priority inheritance locking policy.
优先级继承确保了在高优先级线程需要的资源被低优先级线程占用时,避免发生优先级反转。
Priority inheritance ensures that priority inversion is avoided when a higher-priority thread needs a resource held by a lower-priority thread.
多数支持优先级继承的嵌入式实时操作系统,要求释放资源的顺序与获得资源的顺序相反。
Most of the embedded real-time operation systems supported the priority inheritance require that the order of releasing resource is mutually inversed with the order of acquiring resource.
优先级继承是通过Linux内核功能来提供的,通过POSIX锁定服务可将后者导出到用户空间。
Priority inheritance is provided through Linux kernel functionality that is exported to user space through POSIX locking services. A solution entirely in user space is undesirable because.
只有当前任务才能释放锁,同时还支持优先级继承(基本优先级继承协议)和死亡安全监测。
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.
优先级继承协议和天花板优先级协议都可在一定程度上解决实时系统(RTOS)中的优先级倒置。
Both priority inheritance protocol and priority ceiling protocol are common solutions to priority inversion in real-time system (RTOS).
用于创建pthread _ mutex的POSIXAPI使用互斥锁来实现优先级继承协议。
A POSIX API for creating a pthread_mutex lets the mutex implement the priority-inheritance protocol.
这些更改提供了完全抢占式内核、线程中断处理程序、高分辨率计时器、优先级继承和健壮的互斥锁(mutex)。
These changes provide a fully preemptible kernel, threaded interrupt handlers, high-resolution timers, priority inheritance, and robust mutexes.
目前执行缺乏一些功能,其中的RTOS用户习惯,如优先级继承(以防止优先级反转)和任务,删除安全。
The current implementation lacks some functionality to which RTOS users are accustomed, such as priority inheritance (to prevent priority inversion) and task deletion safety.
在RTSJ 规范中,RT线程需要真正的优先级,以及具有优先级继承支持的固定优先级抢占式调度程序。
With the RTSJ, true priorities and a fixed-priority preemptive scheduler with priority-inheritance support is required for RT threads.
在所有可选的方法中是最重量级的。优先级继承方法实现是很有效率的,不过总不会比什么代码也没有更有效率。
Heaviest among all the possible choices. The Priority Inheritance method is efficiently implemented but nothing is more efficient than no code at all.
介绍了优先级反转问题的理论模型,详细分析和比较了解决优先级反转问题的常规方案——优先级继承协议和优先级天花板协议。
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.
介绍了优先级反转问题的理论模型,详细分析和比较了解决优先级反转问题的常规方案——优先级继承协议和优先级天花板协议。
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.
应用推荐