HTGS  v2.0
The Hybrid Task Graph Scheduler
TaskGraphSignalHandler.hpp File Reference

Implements a signal handler to catch events such as termination and killing of the process. Once a signal is caught, all task graphs that are registered with the signal handler will be written as a dot file. The dot file is output in the working directory with the name of the signal as a prefix and '-graph-output.dot' as the suffix. More...

#include <htgs/core/graph/AnyTaskGraphConf.hpp>
#include <csignal>
#include <vector>
#include <cstring>

Go to the source code of this file.

Classes

class  htgs::TaskGraphSignalHandler
 Implements a signal handler to catch events such as termination and killing of the process. More...
 

Detailed Description

Implements a signal handler to catch events such as termination and killing of the process. Once a signal is caught, all task graphs that are registered with the signal handler will be written as a dot file. The dot file is output in the working directory with the name of the signal as a prefix and '-graph-output.dot' as the suffix.

Author
Timothy Blattner
Date
April 5, 2018
Note
This class should only be included from main due to the instantiation of a static variable. If this class is included in multiple object files, then there will be linking errors.