17 #ifndef _RTEMS_RTEMS_EVENTIMPL_H 18 #define _RTEMS_RTEMS_EVENTIMPL_H 39 #define EVENT_CURRENT 0 45 #define EVENT_SETS_NONE_PENDING 0 90 return ( the_event_set == 0 );
104 *the_event_set |= the_new_events;
118 return ( the_event_set & the_event_condition );
132 return ( the_event_set & ~(the_mask) );
141 #if defined(RTEMS_MULTIPROCESSING) 142 #include <rtems/rtems/eventmp.h> Classic Event Manager Data Structures.
uint32_t rtems_option
This type is used to represent an option set.
#define EVENT_SETS_NONE_PENDING
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
unsigned int Thread_Wait_flags
This type is able to contain several flags used to control the wait class and state of a thread...
static __inline__ rtems_event_set _Event_sets_Get(rtems_event_set the_event_set, rtems_event_set the_event_condition)
Returns the events in event_condition that are set in event_set.
static __inline__ rtems_event_set _Event_sets_Clear(rtems_event_set the_event_set, rtems_event_set the_mask)
Removes the events in mask from the event_set passed in.
Watchdog_Interval rtems_interval
This type is used to represent clock tick intervals.
static __inline__ bool _Event_sets_Is_empty(rtems_event_set the_event_set)
Checks if on events are posted in the event_set.
Local ISR lock context for acquire and release pairs.
#define RTEMS_INLINE_ROUTINE
Gives a hint to the compiler in a function declaration to inline this function.
static __inline__ void _Event_sets_Post(rtems_event_set the_new_events, rtems_event_set *the_event_set)
Posts the given new_events into the event_set passed in.
uint32_t rtems_event_set
This integer type can hold an event set of up to 32 events represented as a bit field.
Constants and Structures Related with the Thread Control Block.
void _Event_Timeout(Objects_Id id, void *arg)
Timeout Event.