有时,为每个新任务生成一个新线程是十分明智的。
Sometimes it is perfectly sensible to spawn a new thread for each new task.
仅当您知道存在足够的空闲系统资源时才调整线程的数量。
Only adjust the number of threads if you know that there are enough spare system resources.
您已经了解了如何更改进程的优先级,那么对于线程又该如何操作呢?
Now that you know how to change the priority of processes, how do you do this with threads?
这些单元与基准时间寄存器相同,并且两个线程的PURR值的总和等于基准时间寄存器的值。
The units are the same as the time base register and the sum of the PURR values for both threads is equal to time base register.
然而,线程只是并行冰山的一角。
Threads, however, are just the tip of the concurrent iceberg.
因此,主线程有时也被叫做UI线程。
As such, the main thread is also sometimes called the UI thread.
线程支持,含线程同步功能。
Threading support has to be implemented including synchronization features.
这些对象只供线程组中的线程访问。
These objects are accessible only by threads within the group of threads.
调优适当的线程池以限制并发线程的数量。
Tuning the appropriate thread pools to restrict the number of concurrent threads.
线程化方式简单地冻结并存储现有的线程。
The threading approach simply freezes and stores an existing thread.
将可运行线程提交到自定义线程池。
多线程下载加快下载速度
允许使用原始线程创建这两个RT线程。
在多线程环境中,多个线程访问同一个堆。
In multithreaded enviornments multiple threads access the same heap.
如果线程池中有可用的线程,它就会被使用。
这阻塞了主线程但是在另一个线程上执行代码。
This blocks the main thread but executes the code on another thread.
POSIX线程提供了线程化机制和共享内存。
POSIX threads provide the threading mechanism as well as Shared memory.
由于线程1目前持有此锁,线程2被阻断。
Because thread 1 currently holds this lock, thread 2 blocks.
内核线程和应用程序线程需要相互进行握手。
The kernel thread and the application thread will handshake with each other.
可运行线程在J2EE工作线程上运行。
线程1被线程2预占。
线程2被线程1预占。
另外,右键单击可以将选中的线程变成当前线程。
Alternatively, right-click to make the selected thread become the current one.
如果未配置轮询线程,则IDS将启动一个轮询线程。
If poll threads are not configured, IDS will start one poll thread.
这个机制不依赖任何特殊的本地线程功能来暂停线程。
This mechanism doesn't rely on any special native-thread capability for suspending threads.
可连接的线程只有在被连接后 才释放线程资源。
The thread resources of the joinable thread are released only after it is joined.
并发多线程提供16个并发执行线程或逻辑处理器。
Simultaneous multi-threading presented 16 concurrent execution threads or logical processors.
应用推荐