注意,每个CSLD任务线程也有它自己的跟踪和日志文件。
Note that each CSLD task thread has also its own trace and log files.
每个CSLD任务可以有一个或多个线程。
这个名词经常与任务或线程混淆。
图4显示了如何在一个CSLD任务中设置多个线程。
Figure 4 shows how multiple threads within a single CSLD task can be set up.
哪个线程将处理该任务?
回答是:没有线程会看到这个任务。
安全地取消任务而不引发线程取消异常依旧是一个重要的方面。
The ability to cancel tasks, without Thread-Aborts, continues to be an important issue.
更改用于本地和远程邮件传递的路由器任务中的线程数。
Changed the number of threads in the router task for local and remote mail delivery.
fork/join 中处于等待中的任务实际上不阻止线程。
在这些线程中,半数线程会用几乎整个生命周期来等待子任务的完成。
And, of those, half would spend almost their entire lives waiting for subtasks to complete.
有时使用线程可以更快地完成任务,下面就是一个典型的示例。
This is a classic example of something that could be done quicker using threads.
在更复杂任务中,可能具有多个子线程。
In more complex tasks, you may have several child processes.
可以在任何时刻、任何线程内取消任务。
每一个线程池线程可以同时运行一个任务。
如果任务催生了一个线程来做它的工作,这就是生意。
If that task spawned a thread to do its work, that's it's business.
创建辅助线程是一个相对较为简单的任务。
创建辅助线程是一个相对较为简单的任务。
应用推荐