Grouped worker thread. More...
#include <thread.h>


Public Member Functions | |
| groupthread (threadgroup &gr) | |
| groupthread (threadgroup &gr, const string &nm) | |
| virtual | ~groupthread (void) |
| virtual void | run (void) |
Public Attributes | |
| lock< value > | data |
Protected Attributes | |
| threadgroup * | group |
Grouped worker thread.
Implements a thread that can be used in a threadgroup.
| groupthread::groupthread | ( | threadgroup & | gr | ) | [inline] |
Constructor.
| gr | Parent threadgroup to link into. |
References threadgroup::add(), and group.

| groupthread::groupthread | ( | threadgroup & | gr, | |
| const string & | nm | |||
| ) | [inline] |
Constructor.
| gr | Parent threadgroup to link into. | |
| nm | Thread name in the thread list. |
References threadgroup::add(), and group.

1.6.1