60 #include <rtems/test.h> 101 return api->
Event.pending_events;
107 T_TEST_CASE( RtemsEventValSendReceive )
171 T_TEST_CASE( RtemsEventValSystemSendReceive )
176 GetPendingSystemEvents,
rtems_status_code rtems_event_system_send(rtems_id id, rtems_event_set event_in)
Sends a system event set to a task.
uint32_t rtems_option
This type is used to represent an option set.
#define STATES_WAITING_FOR_SYSTEM_EVENT
Event_Control System_event
rtems_status_code rtems_event_system_receive(rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
Receives or gets a system event set.
Classic Event Manager Implementation.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Inlined Routines Associated with Thread State Information.
void * API_Extensions[THREAD_API_LAST+1]
Watchdog_Interval rtems_interval
This type is used to represent clock tick intervals.
rtems_status_code rtems_event_receive(rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
Receives or gets an event set.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
Inlined Routines from the Thread Handler.
#define THREAD_WAIT_CLASS_SYSTEM_EVENT
Indicates that the thread waits for a system event.
#define STATES_WAITING_FOR_EVENT
uint32_t rtems_event_set
This integer type can hold an event set of up to 32 events represented as a bit field.
rtems_status_code rtems_event_send(rtems_id id, rtems_event_set event_in)
Sends an event set to a task.
#define THREAD_WAIT_CLASS_EVENT
Indicates that the thread waits for an event.
void RtemsEventReqSendReceive_Run(rtems_status_code(*send)(rtems_id, rtems_event_set), rtems_status_code(*receive)(rtems_event_set, rtems_option, rtems_interval, rtems_event_set *), rtems_event_set(*get_pending_events)(Thread_Control *), unsigned int wait_class, int waiting_for_event)
Runs the parameterized test case.
Classic Tasks Manager Data Structures.