To do this, we set the thread priority of the polling threads to 38 (the highest RT priority) and the priorities of the triage pool threads to 37.
为此,我们将轮询线程的线程优先级设置为38(最高的RT 优先级),将筛选池线程的优先级设置为 37。
This configuration option allows also a special handling of "VIPs" by adding a special thread for just one mailbox, giving it thus priority treatment for processing.
这种配置选项还可以为一个邮箱添加一个特殊的线程,使之具有优先处理权,从而可以进行特殊的 "VIP"处理。
Each CPU on a system has its own dedicated run queue, which is a list of runnable threads sorted by thread priority value.
系统上的每个CPU都有自己专用的运行队列,该队列是按线程优先级值排序的可运行线程的列表。
But, because the thread at priority 4 executes first, it should have a slightly larger share of the five-second execution interval and print out a higher loop count.
但是由于首先执行优先级为4的线程,因此在五秒钟的执行时间间隔中,它分得的时间稍多一些并且打印的循环计数也稍大一些。
A thread is dispatched from the front of the nonempty run-queue with the highest priority.
一个从非空运行队列的前端分派的线程具有最高的优先级。
This article describes aspects of RTSJ threading and synchronization by discussing how thread priorities and priority queues are managed.
本文通过讨论如何管理线程优先级和优先级序列来描述RTSJ线程化和同步。
One of the simplest examples of priority inversion, illustrated in the top diagram in Figure 2, involves three threads: one high (h), one medium (m), and one low (l) priority thread.
图2最上面的图表解释了一个最简单的优先级反转示例,它涉及三个线程:一个高级(H)、一个中级(M)和一个低级(L)优先级线程。
Although the JCL defines the concept of thread priority, a traditional JVM is not required to enforce priorities.
尽管JCL定义了线程优先权的概念,然而传统JVM并不需要执行优先权。
A run queue is a list of runnable threads, sorted by thread priority value.
运行队列是由运行线程所组成的列表,按照线程优先级的值进行排序。
The tag contains information about the priority of the GC thread when the quanta began.
标记包含关于时间量开始时gc线程优先级的信息。
Appropriate priority selection for execution of thread-pooling logic can help prevent problems encountered in thread enqueueing and dequeueing.
为执行线程入池逻辑选择适当的优先级有助于防止线程入队和出队中遇到的问题。
If the forked process is a JVM, the primordial thread of the JVM is created with an RT priority.
如果派生进程是一个JVM,则JVM的原始线程创建时具有RT优先级。
A thread with an RT priority that voluntarily yields is placed at the back of the queue for its priority.
具有RT优先级并自愿让步的线程的优先级被置于队列的后端。
This priority is higher than the priority given to either of the two other RT threads that the main RT thread creates.
这个优先级比主RT线程创建的两个其他 RT线程的优先级都要高。
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.
优先级继承背后的思想是锁争用,锁持有者的优先级被提高到希望获取锁的线程的优先级。
Keep in mind that the amount of CPU a thread gets becomes dependent not only on the priority but also on the total number of threads that need to be scheduled.
请记住,线程获取的cpu量不仅依赖于优先级,还依赖于需要调度的线程总数。
The constructor of this class takes optional priority and release parameters to define how the JVM should schedule the thread.
这个类的构造函数可以带有可选的优先级参数和释出(release)参数,以此来定义JVM如何调度线程。
Once the priority class of the process is set, SetThreadPriority is used to set the priority level of the thread within the priority class of the process.
一旦设置了进程的优先级等级,就可以使用SetThreadPriority在进程的优先级等级内部设置线程的优先级层次。
When you do this, you actually change the value of the priority of a thread (default value of 40) by changing the nice value of its process.
在进行该操作时,您实际上通过更改进程的nice值,从而更改了线程优先级的值(缺省值为40)。
The Linux kernel performs thread scheduling based on static controls, such as thread priority levels, and on certain dynamic conditions of the threads executing in the system.
Linux核心可以根据静态控制(如线程优先级级别)和系统中执行的线程的某些动态条件下来执行线程调度。
Yielding only to a thread of the same priority means that Thread.yield is of questionable use in an RT application that USES more than one RT priority.
只让步给具有相同优先级的线程意味着在使用多个RT优先级的RT应用程序中使用Thread .yield可能会出现问题。
An application that must respond to events in a well-defined time has no way to ensure that another low-priority thread won't get scheduled in front of a high-priority thread.
一个必须在精确时间内响应事件的应用程序无法确保不会在一个高优先级线程之前调度另一个低优先级线程。
The thread scheduler must dispatch from the head of the highest-priority queue that is not empty.
线程调度程序必须从非空的最高优先级队列的头部开始调度。
When an executing thread expires its time quantum, it's placed at the end of the run-queue for its priority and assigned a new time quantum.
当一个执行线程超过它的时间量时,它的优先级被放在运行队列的后端并给它指定了新的时间量。
Priority-based FIFO behavior — as in the earlier synchronization example where the highest-priority thread is chosen to execute next — also applies to the queues of lock contenders and lock waiters.
基于优先级的FIFO行为——在前面的同步示例中,将接着执行具有最高优先级的线程——也适用于锁争用者和锁等待者的队列。
When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.
释放锁以后,系统从争用者的最高优先级队列的前端选择线程,以便试图锁定对象。
The inversion of priorities delays both the low- and the high-priority thread from making progress.
优先级反转将延迟低优先级线程和高优先级线程的执行。
This section shows how you can change some of the CPU scheduling parameters, which are used to calculate the priority value for each thread.
这部分内容介绍了如何更改用于计算每个线程优先级值的CPU调度参数。
A lock release or lock notify operation is analogous to a scheduling dispatch operation in the sense that the thread at the head of the highest-priority queue is acted on.
锁释放或锁notify操作与调度分派操作类似,因为都是对最高优先级队列头部的线程起作用。
A lock release or lock notify operation is analogous to a scheduling dispatch operation in the sense that the thread at the head of the highest-priority queue is acted on.
锁释放或锁notify操作与调度分派操作类似,因为都是对最高优先级队列头部的线程起作用。
应用推荐