PhoenixThread
2.0.1
Multi-thread programming tools in C++
Toggle main menu visibility
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 : LGPL-3.0-only
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.17.0