source: rtems/cpukit/rtems/include/rtems/rtems/signal.h @ 7f6a24ab

4.104.114.84.95
Last change on this file since 7f6a24ab was 7f6a24ab, checked in by Joel Sherrill <joel.sherrill@…>, on 08/28/95 at 15:30:29

Added unused priority ceiling parameter to rtems_semaphore_create.

Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.

  • 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#include <rtems/types.h>
35
36/*
37 *  rtems_signal_catch
38 *
39 *  DESCRIPTION:
40 *
41 *  This routine implements the rtems_signal_catch directive.  This directive
42 *  is used to establish asr_handler as the Asynchronous Signal Routine
43 *  (RTEMS_ASR) for the calling task.  The asr_handler will execute with a
44 *  mode of mode_set.
45 */
46
47rtems_status_code rtems_signal_catch(
48  rtems_asr_entry   asr_handler,
49  rtems_mode        mode_set
50);
51
52/*
53 *  rtems_signal_send
54 *
55 *  DESCRIPTION:
56 *
57 *  This routine implements the rtems_signal_send directive.  This directive
58 *  sends the signal_set to the task specified by ID.
59 */
60
61rtems_status_code rtems_signal_send(
62  Objects_Id             id,
63  rtems_signal_set signal_set
64);
65
66#include <rtems/signalmp.h>
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif
73/* end of include file */
Note: See TracBrowser for help on using the repository browser.