ARC SDK
|
This class initializes the glibmm thread system. More...
#include <Thread.h>
Public Member Functions | |
ThreadInitializer (void) | |
Initialise the thread system. More... | |
void | forceReset (void) |
This method is meant to be used only after fork. More... | |
void | waitExit (void) |
Wait for all known threads to exit. More... | |
This class initializes the glibmm thread system.
|
inline |
Initialise the thread system.
void Arc::ThreadInitializer::forceReset | ( | void | ) |
This method is meant to be used only after fork.
It resets state of all internal locks and variables. This method is deprecated.
void Arc::ThreadInitializer::waitExit | ( | void | ) |
Wait for all known threads to exit.
It can be used before exiting application to make sure no concurrent threads are running during cleanup.