17 #ifndef _RTEMS_RTEMS_EVENTIMPL_H 18 #define _RTEMS_RTEMS_EVENTIMPL_H 39 #define EVENT_CURRENT 0 45 #define EVENT_SETS_NONE_PENDING 0 71 void _Event_Surrender(
102 return ( the_event_set == 0 );
116 *the_event_set |= the_new_events;
130 return ( the_event_set & the_event_condition );
144 return ( the_event_set & ~(the_mask) );
153 #if defined(RTEMS_MULTIPROCESSING) RTEMS_INLINE_ROUTINE 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.
Definition: eventimpl.h:111
#define RTEMS_INLINE_ROUTINE
The following (in conjunction with compiler arguments) are used to choose between the use of static i...
Definition: basedefs.h:135
#define EVENT_SETS_NONE_PENDING
The following constant is the value of an event set which has no events pending.
Definition: eventimpl.h:45
void _Event_Manager_initialization(void)
Event Manager Initialization.
Definition: event.c:23
Constants and Structures Related with the Thread Control Block.
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:119
This structure defines the Thread Control Block (TCB).
Definition: thread.h:671
uint32_t rtems_event_set
Integer type to hold an event set of up to 32 events represented as a bit field.
Definition: event.h:51
RTEMS_INLINE_ROUTINE bool _Event_sets_Is_empty(rtems_event_set the_event_set)
Checks if on events are posted in the event_set.
Definition: eventimpl.h:98
uint32_t rtems_option
The following type defines the control block used to manage option sets.
Definition: options.h:45
RTEMS_INLINE_ROUTINE 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.
Definition: eventimpl.h:139
uint32_t States_Control
The following type defines the control block used to manage a thread's state.
Definition: states.h:41
Local ISR lock context for acquire and release pairs.
Definition: isrlock.h:65
RTEMS_INLINE_ROUTINE 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.
Definition: eventimpl.h:125
uint32_t Objects_Id
The following type defines the control block used to manage object IDs.
Definition: object.h:122
void _Event_Timeout(Objects_Id id, void *arg)
Timeout Event.
unsigned int Thread_Wait_flags
This type is able to contain several flags used to control the wait class and state of a thread...
Definition: thread.h:277