RTEMS
Files | Macros | Typedefs
Directive Options

This group contains the Classic API directive options. More...

Files

file  options.h
 This header file defines options provided by the Classic API.
 

Macros

#define RTEMS_DEFAULT_OPTIONS   0x00000000
 This option constant is the default option set.
 
#define RTEMS_EVENT_ALL   0x00000000
 This option constant indicates that the task wishes to wait until all events of interest are available.
 
#define RTEMS_EVENT_ANY   0x00000002
 This option constant indicates that the task wishes to wait until at least one of the events of interest are available.
 
#define RTEMS_NO_WAIT   0x00000001
 This option constant indicates that the task does not want to wait on the resource. More...
 
#define RTEMS_WAIT   0x00000000
 This option constant indicates that the task wants to wait on the resource. More...
 

Typedefs

typedef uint32_t rtems_option
 This type is used to represent an option set.
 

Detailed Description

This group contains the Classic API directive options.

Macro Definition Documentation

◆ RTEMS_NO_WAIT

#define RTEMS_NO_WAIT   0x00000001

This option constant indicates that the task does not want to wait on the resource.

If the resource is not available, then the directives shall return immediately with a status to indicate that the request is unsatisfied.

Definition at line 112 of file options.h.

◆ RTEMS_WAIT

#define RTEMS_WAIT   0x00000000

This option constant indicates that the task wants to wait on the resource.

If the resource is not available, then the task shall block and wait for request completion.

Definition at line 134 of file options.h.