Classes | Typedefs
blaze::threadpool Namespace Reference

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

Detailed Description

Namespace for the threadpool module.

Function Documentation

void blaze::threadpool::swap ( TaskQueue a,
TaskQueue b 
)
inline

Swapping the contents of two task queues.

Parameters
aThe first task queue to be swapped.
bThe second task queue to be swapped.
Returns
void
Exceptions
no-throwguarantee.