54 #include <rtems/test.h> 91 return option != 0 && ( option & ( option - 1 ) ) == 0;
100 while ( options != 0 ) {
102 options &= options - 1;
111 T_TEST_CASE( RtemsOptionValOptions )
129 T_step_eq_int( 5, PopCount( options ), 2 );
#define RTEMS_NO_WAIT
This option constant indicates that the task does not want to wait on the resource.
#define RTEMS_DEFAULT_OPTIONS
This option constant is the default option set.
uint32_t rtems_option
This type is used to represent an option set.
#define RTEMS_EVENT_ANY
This option constant indicates that the task wishes to wait until at least one of the events of inter...
This header file defines the RTEMS Classic API.
#define RTEMS_WAIT
This option constant indicates that the task wants to wait on the resource.
#define RTEMS_EVENT_ALL
This option constant indicates that the task wishes to wait until all events of interest are availabl...