All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs
blaze::threadpool Namespace Reference

Namespace for the threadpool module. More...

Classes

class  FuncWrapper
 Wrapper class for scheduled functions/functors.The FuncWrapper class is a wrapper for any callable function or functor of the following structure: More...
 
class  Task
 Base class for executable user tasks.The Task class represents the base class for all user tasks. More...
 
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 TaskTaskID
 Handle for a task object.
 
typedef const TaskConstTaskID
 Handle for a constant task object.
 

Functions

TaskQueue operators
void swap (TaskQueue &a, TaskQueue &b)
 Swapping the contents of two task queues.
 

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.