RTEMS Logo

RTEMS 4.9.4 On-Line Library


Signal Manager Building a Signal Set

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

12.2.3: Building a Signal Set

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 or RTEMS.SIGNAL_15 or RTEMS.SIGNAL_31.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation