它为与新的pbuf池相关的管理任务提供了支持。
It provides support for new pbuf pool-related administrative tasks.
我们已经探究了如何使用GPars将任务推入Executor池的机理。
We've already explored the mechanics of how to push tasks into an Executor pool with GPars.
可以创建ThreadPoolStatusMBean,提供处理这些任务所使用的线程池的管理接口,并把它用JMX注册。
You can create a ThreadPoolStatus MBean to provide the management interface for the thread pool used to process these tasks and register it with JMX.
最新的eventMPM是一种实验性的模型,为不同的任务使用单独的线程池。
The final, event MPM is an experimental module that keeps separate pools of threads for different tasks.
WebSphereApplicationServer旨在处理大量的并行短时间任务,工作队列和线程池是两个经常用来处理并行工作负载的组件。
WebSphere Application Server is designed to process a large number of parallel short-time tasks, and work queues and thread pools are two components that are used often to handle parallel workload.
TPL还拥有一套从前的线程或线程池所不具备的新功能,例如任务拥有一个安全的Cancel方法。
The TPL also has a new set of features not seen in either threads or thread pools. For example, Tasks have a safe Cancel method.
本文在设计和实现DAEHF的过程中研究使用了设计复用、线程池、异步事件处理、任务自动部署等关键技术。
During the design and implementation of DAEHF, this paper studies and USES such key technologies as design reuse, thread pool, asynchronous event handling, task automation deployment.
将该算法应用于计算池的任务调度取得了较好的效果。
Good performance is achieved by using AGA in the scheduling of tasks in the grid computing pool.
要有效地调整线程池大小,您需要理解正在排队的任务以及它们正在做什么。
To tune the thread pool size effectively, you need to understand the tasks that are being queued and what they are doing.
如果某个线程被这样一个任务永久地消耗着,那么它实际上就被从池除去了。
If a thread is permanently consumed with such a task, it has effectively been removed from the pool.
如果您要自己创建线程来处理生存期很短的任务,那么您绝对应该考虑使用线程池来替代。
If you find yourself creating threads to handle short-lived tasks, you should definitely consider using a thread pool instead.
乍看之下,它似乎是另外一种线程池,但它却支持任务之间的父子关系。
At first glance this is just another thread pool, but it supports parent-child relationships between tasks.
线程池的最佳大小取决于可用处理器的数目以及工作队列中的任务的性质。
The optimum size of a thread pool depends on the number of processors available and the nature of the tasks on the work queue.
相反,当没有任务要完成时,固定大小的线程池会让所有的线程等待。
In contrast, the fixed-size pool keeps all the threads around waiting for something to do when there are no tasks to complete.
提出了记录系统的线程池模型,提高了系统对实时性记录任务的吞吐率。
Thread pool model of system is proposed to enhance throughput ratio of recording task.
如果Informix存储池未填满,或出于其他原因不能成功添加块,则任务失败。
If the Informix storage pool is not populated or, for whatever reason, cannot successfully add a chunk, the task fails.
试图向池线程传递任务的调用者都会发现池为空,在调用者等待一个可用的池线程时,它的线程将阻塞。
Any caller that attempted to pass a task to a pool thread would find the pool empty, and its thread would block while it waited for an available pool thread.
返回所有线程的工作队列中的当前任务总数的估计值(但不包括已提交到池但未开始执行的任务)。
Returns an estimate of the total number of tasks currently held in queues by worker threads (but not including tasks submitted to the pool that have not begun executing).
当某个任务引发了它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后将线程返回至线程池。
When a task throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then returns the thread to the thread pool.
总的来说,通用的最佳实践是确定哪些线程池服务任务需要DataSource连接并相应调节池的大小。
Overall, the general best practice is to determine which thread pools service tasks that require a DataSource connection and to size the pools accordingly.
在所有线程池线程都分配到任务后,线程池不会立即开始创建新的空闲线程。
When all thread pool threads have been assigned to tasks, the thread pool does not immediately begin creating new idle threads.
各种类型的线程池中一个严重的风险是线程泄漏,当从池中除去一个线程以执行一项任务,而在任务完成后该线程却没有返回池时,会发生这种情况。
A significant risk in all kinds of thread pools is thread leakage, which occurs when a thread is removed from the pool to perform a task, but is not returned to the pool when the task completes.
返回可识别此线程池的字符串及它的状态,包括运行状态、并行级别、工作线程和任务数量。
Returns a string identifying this pool, as well as its state, including indications of run state, parallelism level, and worker and task counts.
返回可识别此线程池的字符串及它的状态,包括运行状态、并行级别、工作线程和任务数量。
Returns a string identifying this pool, as well as its state, including indications of run state, parallelism level, and worker and task counts.
应用推荐