RTEMS 6.1-rc1
Macros | Typedefs
Directive Options

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

Macros

#define RTEMS_DEFAULT_OPTIONS   0x00000000
 This option constant represents 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 in rtems_event_receive() and rtems_event_system_receive().
 
#define RTEMS_EVENT_ANY   0x00000002
 This option constant indicates that the task wishes to wait until at least one of the events of interest is available in rtems_event_receive() and rtems_event_system_receive().
 
#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 represents a Classic API directive 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.

◆ 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.