void SystemSignalHandler::addHandler |
( |
const raft::signal |
signal, |
|
|
sighandler |
handler |
|
) |
| |
addHandler - adds the signal handler 'handler' to this container. If the handler already exists for that signal then the last one to get added supercedes it (i.e., we're relying on the base class to be called first and derived classes to potentially add newer handlers).
- Parameters
-
signal | - const raft::signal |
handler | - sighandler |
raft::kstatus SystemSignalHandler::callHandler |
( |
const raft::signal |
signal, |
|
|
FIFO & |
fifo, |
|
|
raft::kernel * |
kernel, |
|
|
void * |
data |
|
) |
| |
callHandler - calls the handler for the param signal, an exception is thrown if the signal doesn't have a handler and a sigterm is passed throughout the system.
- Parameters
-
signal | - const raft::signal |
fifo | - FIFO& current port that called the signal |
kernel | - raft::kernel*, currently called kernel |
data | - void* |
- Returns
- raft::kstatus - returns whatever the handler says otherwise proceed
- Exceptions
-
The documentation for this class was generated from the following files: