|
| static | K_THREAD_STACK_DEFINE (sreceiver,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| static | K_THREAD_STACK_DEFINE (sextra1,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| static | K_THREAD_STACK_DEFINE (sextra2,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| static | K_EVENT_DEFINE (test_event) |
| |
| static | K_EVENT_DEFINE (sync_event) |
| |
| static | K_SEM_DEFINE (receiver_sem, 0, 1) |
| |
| static | K_SEM_DEFINE (sync_sem, 0, 1) |
| |
| static void | entry_extra1 (void *p1, void *p2, void *p3) |
| |
| static void | entry_extra2 (void *p1, void *p2, void *p3) |
| |
|
| void | test_k_event_init (void) |
| | Test the k_event_init() API.
|
| |
| static void | receive_existing_events (void) |
| |
| static void | reset_on_wait (void) |
| |
| static void | receiver (void *p1, void *p2, void *p3) |
| | receiver helper task
|
| |
| static void | test_receive_existing_events (void) |
| | Works with receive_existing_events() to test the waiting for events when some events have already been sent.
|
| |
| static void | test_reset_on_wait (void) |
| | Works with reset_on_wait() to verify that the events stored in the event object are reset at the appropriate time.
|
| |
| void | test_wake_multiple_threads (void) |
| |
| void | test_event_deliver (void) |
| | Test basic k_event_post() and k_event_set() APIs.
|
| |
| void | test_event_receive (void) |
| | Test delivery and reception of events.
|
| |