RTEMS  5.0.0
Files | Functions
Signals

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...
 

Detailed Description

Directives provided are:

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_handleris the address of asynchronous signal routine (asr) ( NULL indicates asr is invalid )
[in]mode_setis 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]idis the thread thread id
[in]signal_setis the signal set
Return values
RTEMS_SUCCESSFULif successful or error code if unsuccessful