source: rtems/cpukit/rtems/include/rtems/rtems/signal.h @ ac7d5ef0

4.104.114.84.95
Last change on this file since ac7d5ef0 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*  signal.h
2 *
3 *  This include file contains all the constants and structures associated
4 *  with the Signal Manager.   This manager provides capabilities required
5 *  for asynchronous communication between tasks via signal sets.
6 *
7 *  Directives provided are:
8 *
9 *     + establish an asynchronous signal routine
10 *     + send a signal set to a task
11 *
12 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
13 *  On-Line Applications Research Corporation (OAR).
14 *  All rights assigned to U.S. Government, 1994.
15 *
16 *  This material may be reproduced by or for the U.S. Government pursuant
17 *  to the copyright license under the clause at DFARS 252.227-7013.  This
18 *  notice must appear in all copies of this file and its derivatives.
19 *
20 *  $Id$
21 */
22
23#ifndef __RTEMS_SIGNAL_h
24#define __RTEMS_SIGNAL_h
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#include <rtems/asr.h>
31#include <rtems/modes.h>
32#include <rtems/object.h>
33#include <rtems/status.h>
34
35/*
36 *  rtems_signal_catch
37 *
38 *  DESCRIPTION:
39 *
40 *  This routine implements the rtems_signal_catch directive.  This directive
41 *  is used to establish asr_handler as the Asynchronous Signal Routine
42 *  (RTEMS_ASR) for the calling task.  The asr_handler will execute with a
43 *  mode of mode_set.
44 */
45
46rtems_status_code rtems_signal_catch(
47  rtems_asr_entry   asr_handler,
48  rtems_mode mode_set
49);
50
51/*
52 *  rtems_signal_send
53 *
54 *  DESCRIPTION:
55 *
56 *  This routine implements the rtems_signal_send directive.  This directive
57 *  sends the signal_set to the task specified by ID.
58 */
59
60rtems_status_code rtems_signal_send(
61  Objects_Id             id,
62  rtems_signal_set signal_set
63);
64
65#include <rtems/signalmp.h>
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif
72/* end of include file */
Note: See TracBrowser for help on using the repository browser.