source: rtems/c/src/exec/rtems/include/rtems/rtems/options.h @ 98e4ebf5

4.104.114.84.95
Last change on this file since 98e4ebf5 was 98e4ebf5, checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 15:45:54

Fixed typo in the pointer to the license terms.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*  options.h
2 *
3 *  This include file contains information which defines the
4 *  options available on many directives.
5 *
6 *  COPYRIGHT (c) 1989-1997.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#ifndef __RTEMS_OPTIONS_h
18#define __RTEMS_OPTIONS_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24/*
25 *  The following type defines the control block used to manage
26 *  option sets.
27 */
28
29typedef unsigned32 rtems_option;
30
31/*
32 *  The following constants define the individual options which may
33 *  be used to compose an option set.
34 */
35
36#define RTEMS_DEFAULT_OPTIONS   0x00000000
37
38#define RTEMS_WAIT      0x00000000        /* wait on resource */
39#define RTEMS_NO_WAIT   0x00000001        /* do not wait on resource */
40
41#define RTEMS_EVENT_ALL 0x00000000        /* wait for all events */
42#define RTEMS_EVENT_ANY 0x00000002        /* wait on any event */
43
44#ifndef __RTEMS_APPLICATION__
45#include <rtems/rtems/options.inl>
46#endif
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif
53/* end of include file */
Note: See TracBrowser for help on using the repository browser.