ocean.task.ThrottledTaskPool

Adds functionality to suspend/resume registered ISuspendable instances based on the number of active tasks in the task pool.

Members

Classes

PoolThrottler
class PoolThrottler

Default throttler implementation used if no external one is supplied via constructor. It throttles on amount of busy tasks in internal task pool.

SpecializedPoolThrottler
class SpecializedPoolThrottler

Throttler implementation intended to be used with a specialized task pools.

ThrottledTaskPool
class ThrottledTaskPool(TaskT)

Special modified version of task pool to enhance outer context of task with reference to throttler.

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).