VTS的核心是虚拟线程调度器。
出现这样的结果可以用RT线程调度的行为来解释。
This result can be explained by the behavior of RT thread scheduling.
讨论线程优先级及它们如何影响线程调度。
Discusses thread priorities and how they affect thread scheduling.
线程调度程序必须从非空的最高优先级队列的头部开始调度。
The thread scheduler must dispatch from the head of the highest-priority queue that is not empty.
JLS中的线程调度并不精确而且只提供了10个优先级值。
Thread scheduling in the JLS is imprecise and provides only 10 priority values.
迄今为止,上面的示例只展示了形式最基本的几个线程调度程序。
The examples so far have presented only the most basic styles of thread schedulers.
这大概就是您能够选择的最简单的轻便线程调度程序了。
This is about the simplest weightless thread scheduler you could choose.
而且,不同的平台有不同的线程调度模型,所以会产生不同的结果。
Also, different platforms have different thread schedule models, resulting in different results.
执行自身形式的线程入池和线程调度的应用程序或库可能需要这种技术。
This technique might be required for applications or libraries that do their own form of thread pooling and thread dispatching.
然后,从对象的等待集中删除线程t,并重新进行线程调度。
The thread t is then removed from the wait set for this object and re-enabled for thread scheduling.
为了实现这一算法,本文设计了一种用户级的应用线程调度框架。
In order to implement this algorithm, this paper designed a user-level thread scheduling application framework.
另一方面,您对于与线程调度有关的选择也有更多直接控制,因为您可以直接使用线程api。
On the other hand, you have more direct control over choices related to thread scheduling since you use the thread API directly.
使用内存映射文件技术及多线程调度技术,用于管理和调度大数据量地形数据和纹理数据。
Using Memory Map File and Multi-thread dispatch technology, to manage and dispatch large terrain data and texture data.
虽然原则上线程调度程序可以在运行的中间切换线程并以不同的顺序运行它们,但是它往往不进行切换。
Although the thread scheduler, in principle, may switch threads in the middle and run them in different order, it tends not to.
睡眠周期的结束意味着线程调度程序可以运行它,但是调度器可能选择运行其他线程/进程。
The end of the sleep period means that the thread is available for the scheduler to run it, but the scheduler may chose to run other threads/processes at that moment.
为提高多核处理器系统的调度效率,充分发挥多核处理器的性能,提出了一种新的线程调度算法。
To improve schedule efficiency and performance of multi-core processor system, a new thread scheduling algorithm is presented.
Linux核心可以根据静态控制(如线程优先级级别)和系统中执行的线程的某些动态条件下来执行线程调度。
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.
POSIX允许您创建具有不同线程调度策略和优先级的POSIX线程(pthreads)以满足不同应用程序的需求。
POSIX allows you to create POSIX threads (pthreads) with different thread scheduling policies and priorities to meet differing application needs. Three such scheduling policies are.
请使用top和其它系统管理工具来验证调度是正确的,关于实际使用的线程调度方面的具体问题,请向您的Linux供应商或用户组询问。
Use top and other system management tools to verify that scheduling appears to be correct, and ask your Linux vendor or users' group specific questions about practical thread scheduling.
因为线程调度程序真的等同于“执行a,接着执行b,然后执行c,等等”的指令,所以要在主函数中创建一个完全并行的情况也不困难。
Since the thread scheduler really amounts to instructions to "do a, then do B, then do c, etc." it was not difficult to create an entirely parallel case in a main function.
例如,如果某个线程没有被调度,当转储缓冲区时它的跟踪信息仍然是可用的。
For example, if one particular thread is not being dispatched, its trace information is still available when the buffers are dumped or snapped.
通过线程,可以优先调度重要任务—甚至中断—低优先级任务。
With threads, important tasks can be scheduled to take precedence over-and even interrupt-lower-priority tasks.
换句话说,当许多线程都想访问共享资源时,JVM可以花更少的时候来调度线程,把更多时间用在执行线程上。
In other words, when many threads are attempting to access a Shared resource, the JVM will spend less time scheduling threads and more time executing them.
这里设置调度程序的方法将导致在其中一个线程停止时整个调度程序停止。
The way the scheduler is set up here causes the whole scheduler to stop when one thread does so.
这种算法就称为o(1)调度程序,这个名字就表示它调度多个线程所使用的时间和调度一个线程所使用的时间是相同的。
This is called the o (1) scheduler, denoting that the same amount of time is taken to schedule one thread as it is to schedule many.
请记住,线程获取的cpu量不仅依赖于优先级,还依赖于需要调度的线程总数。
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.
在设置为1时,调度器尝试在核上尽可能少的超线程上调度进程,让其他超线程可以空闲,进而通过空闲C 状态节省电力。
When it is set to 1, the scheduler tries to schedule processes to as few hyperthreads on a core as possible so that the others can go idle and in turn save power through idle C states.
原始线程和应用程序调度逻辑。
向上扩展:调度程序线程。
向上扩展:调度程序线程。
应用推荐