A signal set is built by a bitwise OR of the desired
signals. The set of valid signals is RTEMS_SIGNAL_0
through
RTEMS_SIGNAL_31
. If a signal is not explicitly specified in the
signal set, then it is not present. Signal values are
specifically designed to be mutually exclusive, therefore
bitwise OR and addition operations are equivalent as long as
each signal appears exactly once in the component list.
This example demonstrates the signal parameter used
when sending the signal set consisting of
RTEMS_SIGNAL_6
,
RTEMS_SIGNAL_15
, and
RTEMS_SIGNAL_31
. The signal parameter provided
to the rtems_signal_send
directive should be
RTEMS_SIGNAL_6 | RTEMS_SIGNAL_15 | RTEMS_SIGNAL_31
.
Copyright © 1988-1998 OAR Corporation