ocean.task.TaskPool

Ready-to-use task pool implementation that should be used in cases where the application has to spawn a large amount of the same type of task. It is possible to mix many different pools as well as an arbitrary amount of stand-alone tasks in the same applications - they will all use the same global ocean.task.Scheduler, including its pool of fibers.

Usage example: See the documented unittest of the TaskPool class

Members

Classes

TaskPool
class TaskPool(TaskT : Task)

Task pool which integrates with ocean.task.Scheduler.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).