![]() |
Namespace for the threadpool module. More...
Classes | |
class | TaskQueue |
Task queue for the thread pool.The TaskQueue class represents the internal task container of a thread pool. It uses a FIFO (first in, first out) strategy to store and remove the assigned tasks. More... | |
Typedefs | |
typedef boost::function< void(void)> | Task |
Handle for a single, executable task. | |
Functions | |
TaskQueue operators | |
void | swap (TaskQueue &a, TaskQueue &b) |
Swapping the contents of two task queues. More... | |
Namespace for the threadpool module.
|
inline |
Swapping the contents of two task queues.
a | The first task queue to be swapped. |
b | The second task queue to be swapped. |
no-throw | guarantee. |