RTEMS
5.1
|
Files | |
file | signal.h |
Signals API. | |
file | signalcatch.c |
RTEMS Catch Signal. | |
file | signalsend.c |
RTEMS Send Signal. | |
Functions | |
rtems_status_code | rtems_signal_catch (rtems_asr_entry asr_handler, rtems_mode mode_set) |
RTEMS Catch Signal. More... | |
rtems_status_code | rtems_signal_send (rtems_id id, rtems_signal_set signal_set) |
RTEMS Send Signal. More... | |
Directives provided are:
rtems_status_code rtems_signal_catch | ( | rtems_asr_entry | asr_handler, |
rtems_mode | mode_set | ||
) |
RTEMS Catch Signal.
This routine implements the rtems_signal_catch directive. This directive is used to establish asr_handler as the Asynchronous Signal Routine (RTEMS_ASR) for the calling task. The asr_handler will execute with a mode of mode_set.
[in] | asr_handler | is the address of asynchronous signal routine (asr) ( NULL indicates asr is invalid ) |
[in] | mode_set | is the mode value for asr |
RTEMS_SUCCESSFUL |
rtems_status_code rtems_signal_send | ( | rtems_id | id, |
rtems_signal_set | signal_set | ||
) |
RTEMS Send Signal.
This routine implements the rtems_signal_send directive. This directive sends the signal_set to the task specified by ID.
[in] | id | is the thread thread id |
[in] | signal_set | is the signal set |
RTEMS_SUCCESSFUL | if successful or error code if unsuccessful |