Tanl Linguistic Pipeline |
Java-like ThreadGroup. More...
#include <ThreadGroup.h>
Public Member Functions | |
ThreadGroup (char const *name, ThreadGroup *parent=Thread::CurrentThread()->Group()) | |
int | MaxPriority () |
void | MaxPriority (int prio) |
std::string | Name () |
ThreadGroup * | Parent () |
int | ActiveCount () |
int | ActiveGroupCount () |
void | CheckAccess () |
void | Destroy () |
int | Enumerate (std::vector< Thread * > &list, bool recursive=false) |
int | Enumerate (std::vector< ThreadGroup * > &list, bool recursive=false) |
bool | ParentOf (ThreadGroup *group) |
Static Public Member Functions | |
static ThreadGroup * | Root () |
Friends | |
class | Thread |
Java-like ThreadGroup.
A thread group represents a set of threads. In addition, a thread group can also include other thread groups. The thread groups form a tree in which every thread group except the initial thread group has a parent.