source: rtems/c/src/exec/rtems/headers/signal.h @ 03f2154e

4.104.114.84.95
Last change on this file since 03f2154e was 03f2154e, checked in by Joel Sherrill <joel.sherrill@…>, on 04/22/97 at 17:20:27

headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.

  • Property mode set to 100644
File size: 1.8 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-1997.
13 *  On-Line Applications Research Corporation (OAR).
14 *  Copyright assigned to U.S. Government, 1994.
15 *
16 *  The license and distribution terms for this file may in
17 *  the file LICENSE in this distribution or at
18 *  http://www.OARcorp.com/rtems/license.html.
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/rtems/asr.h>
31#include <rtems/rtems/modes.h>
32#include <rtems/score/object.h>
33#include <rtems/rtems/status.h>
34#include <rtems/rtems/types.h>
35
36/*
37 *  _Signal_Manager_initialization
38 *
39 *  DESCRIPTION:
40 *
41 *  This routine performs the initialization necessary for this manager.
42 */
43 
44void _Signal_Manager_initialization( void );
45
46/*
47 *  rtems_signal_catch
48 *
49 *  DESCRIPTION:
50 *
51 *  This routine implements the rtems_signal_catch directive.  This directive
52 *  is used to establish asr_handler as the Asynchronous Signal Routine
53 *  (RTEMS_ASR) for the calling task.  The asr_handler will execute with a
54 *  mode of mode_set.
55 */
56
57rtems_status_code rtems_signal_catch(
58  rtems_asr_entry   asr_handler,
59  rtems_mode        mode_set
60);
61
62/*
63 *  rtems_signal_send
64 *
65 *  DESCRIPTION:
66 *
67 *  This routine implements the rtems_signal_send directive.  This directive
68 *  sends the signal_set to the task specified by ID.
69 */
70
71rtems_status_code rtems_signal_send(
72  Objects_Id             id,
73  rtems_signal_set signal_set
74);
75
76#include <rtems/rtems/signalmp.h>
77
78#ifdef __cplusplus
79}
80#endif
81
82#endif
83/* end of include file */
Note: See TracBrowser for help on using the repository browser.