Tomographer  v1.0a
Tomographer C++ Framework Documentation
signal_status_report.h File Reference

(v1.0a)

Basic common code for intercepting a signal to print status information of a task manager. More...

#include <signal.h>
#include <cstdio>
#include <ctime>
#include <chrono>
+ Include dependency graph for signal_status_report.h:

Go to the source code of this file.

Classes

struct  Tomographer::Tools::SignalHandler
 An abstract signal handler, in class form. More...
 
struct  Tomographer::Tools::SigHandlerTaskDispatcherStatusReporter< TaskDispatcher, Logger, TimerClock >
 A generic handler which requests a status report from an OMPTaskDispatcher. More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::Tools
 Various useful tools.
 

Macros

#define SIG_STATUS_REPORT_REPEAT_EXIT_DELAY   2
 

Functions

template<typename TaskDispatcher , typename LoggerT >
SigHandlerTaskDispatcherStatusReporter< TaskDispatcher, LoggerT > Tomographer::Tools::makeSigHandlerTaskDispatcherStatusReporter (TaskDispatcher *tasks, LoggerT &logger)
 
template<typename SigHandler >
void Tomographer::Tools::installSignalStatusReportHandler (int signum, SigHandler *sobj)
 Installs the given signal handler to catch the signal signum. More...
 

Detailed Description

Basic common code for intercepting a signal to print status information of a task manager.

Definition in file signal_status_report.h.