libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::ProcessManager::OpaquePointer Class Reference

Classes

struct  ExitInfo
 

Static Public Member Functions

static void signalHandler ()
 

Static Public Attributes

static int32_t _currentId = 0
 
static std::mutex _callbackHandlersMutex
 
static std::unordered_map< int32_t, std::function< void(pid_t pid, int exitCode, int signal, bool coreDumped)> > _callbackHandlers
 
static std::atomic_bool _stopSignalHandlerThread {true}
 
static std::thread _signalHandlerThread
 
static std::mutex _lastExitStatusMutex
 
static std::condition_variable _lastExitStatusConditionVariable
 
static std::unordered_map< pid_t, ExitInfo_lastExitStatus
 

Member Function Documentation

§ signalHandler()

static void BaseLib::ProcessManager::OpaquePointer::signalHandler ( )
inlinestatic

Member Data Documentation

§ _callbackHandlers

std::unordered_map< int32_t, std::function< void(pid_t pid, int exitCode, int signal, bool coreDumped)> > BaseLib::ProcessManager::OpaquePointer::_callbackHandlers
static

§ _callbackHandlersMutex

std::mutex BaseLib::ProcessManager::OpaquePointer::_callbackHandlersMutex
static

§ _currentId

int32_t BaseLib::ProcessManager::OpaquePointer::_currentId = 0
static

§ _lastExitStatus

std::unordered_map< pid_t, ProcessManager::OpaquePointer::ExitInfo > BaseLib::ProcessManager::OpaquePointer::_lastExitStatus
static

§ _lastExitStatusConditionVariable

std::condition_variable BaseLib::ProcessManager::OpaquePointer::_lastExitStatusConditionVariable
static

§ _lastExitStatusMutex

std::mutex BaseLib::ProcessManager::OpaquePointer::_lastExitStatusMutex
static

§ _signalHandlerThread

std::thread BaseLib::ProcessManager::OpaquePointer::_signalHandlerThread
static

§ _stopSignalHandlerThread

std::atomic_bool BaseLib::ProcessManager::OpaquePointer::_stopSignalHandlerThread {true}
static

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