Go to the documentation of this file. 1 #ifndef FWCore_SharedMemory_WorkerMonitorThread_h
2 #define FWCore_SharedMemory_WorkerMonitorThread_h
61 static void sig_handler(
int sig, siginfo_t*,
void*);
std::atomic< bool > helperReady_
static std::atomic< bool > s_helperThreadDone
std::thread helperThread_
void setupSignalHandling()
Sets the unix signal handler which communicates with the thread.
std::function< void()> action_
std::atomic< bool > stopRequested_
void setAction(std::function< void()> iFunc)
std::atomic< bool > actionSet_
static void sig_handler(int sig, siginfo_t *, void *)
static std::atomic< int > s_pipeReadEnd
static std::atomic< int > s_pipeWriteEnd
TEMPL(T2) struct Divides void
#define CMS_THREAD_GUARD(_var_)
const WorkerMonitorThread & operator=(const WorkerMonitorThread &)=delete