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
12
void
phoenix_addSignalCatcher
(
int
signalType);
13
bool
phoenix_isSignalRecived
(
int
signalType);
14
15
16
#endif
17
phoenix_addSignalCatcher
void phoenix_addSignalCatcher(int signalType)
Add a signal catcher to handle the given signal.
Definition
SignalCatcher.cpp:40
phoenix_isSignalRecived
bool phoenix_isSignalRecived(int signalType)
Check if the given signal has been recived by the program (or a thread)
Definition
SignalCatcher.cpp:51
src
SignalCatcher.h
Generated by
1.13.2