RTEMS: Signals

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Files | Functions
Signals
API » Classic

## 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.
rtems_status_code | rtems_signal_send (rtems_id id, rtems_signal_set signal_set)
| RTEMS Send Signal.

## Detailed Description

Directives provided are:

- establish an asynchronous signal routine
- send a signal set to a task

## Function Documentation

## ◆ rtems_signal_catch()

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.

Parameters

  [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

Return values

  RTEMS_SUCCESSFUL |

## ◆ rtems_signal_send()

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.

Parameters

  [in] | id | is the thread thread id
  [in] | signal_set | is the signal set

Return values

  RTEMS_SUCCESSFUL | if successful or error code if unsuccessful