The array indices are stored in a 64-bit bitmap, and finding the highest priority task is very trivial.
数组的索引存储在一个64位的位图中,找到最高优先级的任务是很容易的。
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),每个互斥锁都有最大优先级,设为需要这个锁的任务的优先级的最大值。
Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence.
采用抢先调度方式时,具有最高优先级的任务先执行直到它进入等待或僵死状态,或者是有更高优先级的任务产生。
The time between the arrival of the interrupt and dispatching of the required task (assuming it's the highest-priority task to dispatch) is called the response time.
中断到达与分发必需任务之间的时间(假设分配的是优先级最高的任务)称为响应时间。
The highest-priority task (nice of -20) received ~120 billion ticks, while the lowest-priority task (nice of 19) received 21 million ticks.
最高优先级任务(精细值为 -20)收到大概 1200 亿个时钟节拍,而最低优先级任务(精细值为19)接收到21,000,000 个时钟节拍。
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.
当优先级反转发生时,优先级较低的任务被暂时地提高它的优先级,使得该任务能尽快执行,释放出优先级较高的任务所需要的资源。
应用推荐