![]() |
|
PhoenixThread
1.0.0
Tools to ease parallel programming in C++
|
#include <signal.h>
Include dependency graph for SignalCatcher.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| 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) | |
| void phoenix_addSignalCatcher | ( | int | signalType | ) |
Add a signal catcher to handle the given signal.
| signalType | : type of the signal to be handled You should always call this function into your main thread |
Definition at line 40 of file SignalCatcher.cpp.
References SignalHandler::expectedSignal, SignalHandler::isSignalRecieved, phoenix_mapSignalHandler, and phoenix_sig_handler().
Here is the call graph for this function:| bool phoenix_isSignalRecived | ( | int | signalType | ) |
Check if the given signal has been recived by the program (or a thread)
| signalType | : type of signal to check |
Definition at line 51 of file SignalCatcher.cpp.
References phoenix_mapSignalHandler.