PhoenixThread  1.0.0
Tools to ease parallel programming in C++
Loading...
Searching...
No Matches
SignalCatcher.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7#ifndef __SIGNALCATCHER_H__
8#define __SIGNALCATCHER_H__
9
10#include <signal.h>
11
12void phoenix_addSignalCatcher(int signalType);
13bool phoenix_isSignalRecived(int signalType);
14
15
16#endif
17
void phoenix_addSignalCatcher(int signalType)
Add a signal catcher to handle the given signal.
bool phoenix_isSignalRecived(int signalType)
Check if the given signal has been recived by the program (or a thread)