Lunchbox  1.16.0
Multi-threaded C++ toolbox library for all application developers creating high-performance multi-threaded programs.
lunchbox::MTQueue< T, S >::Group Class Reference

Group descriptor for popBarrier(). More...

+ Collaboration diagram for lunchbox::MTQueue< T, S >::Group:

Public Member Functions

 Group (const size_t height)
 Construct a new group of the given size. More...
 
void setHeight (const size_t height)
 Update the height. More...
 

Friends

class MTQueue< T, S >
 

Detailed Description

template<typename T, size_t S = ULONG_MAX>
class lunchbox::MTQueue< T, S >::Group

Group descriptor for popBarrier().

Version
1.7.1

Definition at line 157 of file mtQueue.ipp.

Constructor & Destructor Documentation

template<typename T, size_t S = ULONG_MAX>
lunchbox::MTQueue< T, S >::Group::Group ( const size_t  height)
inlineexplicit

Construct a new group of the given size.

Can only be used once.

Version
1.7.1

Definition at line 168 of file mtQueue.ipp.

Member Function Documentation

template<typename T, size_t S = ULONG_MAX>
void lunchbox::MTQueue< T, S >::Group::setHeight ( const size_t  height)
inline

Update the height.

Version
1.7.1

Definition at line 175 of file mtQueue.ipp.


The documentation for this class was generated from the following file: