![]() |
|
PhoenixThread
1.2.3
Tools to ease parallel programming in C++
|
#include <signal.h>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().
| 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.