ARC SDK
Public Member Functions
Arc::ThreadInitializer Class Reference

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...
 

Detailed Description

This class initializes the glibmm thread system.

Constructor & Destructor Documentation

◆ ThreadInitializer()

Arc::ThreadInitializer::ThreadInitializer ( void  )
inline

Initialise the thread system.

Member Function Documentation

◆ forceReset()

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.

◆ waitExit()

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.


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