|
| LOG_MODULE_REGISTER (test) |
|
static | K_THREAD_STACK_DEFINE (co_op_stack,(1024+CONFIG_TEST_EXTRA_STACK_SIZE)) |
|
static | K_THREAD_STACK_DEFINE (provider_thread_stack, 0x400U) |
|
static | K_THREAD_STACK_DEFINE (consumer_workq_stack, 0x400U) |
|
static void | work_handler (struct k_work *work) |
|
static void | delayed_test_items_init (void) |
|
static void | reset_results (void) |
|
static void | coop_work_main (void *p1, void *p2, void *p3) |
|
static void | delayed_test_items_submit (void) |
|
static void | check_results (int num_tests) |
|
static void | test_sequence (void) |
| Test work queue items submission sequence.
|
|
static void | resubmit_work_handler (struct k_work *work) |
|
| ZTEST (workqueue_triggered, test_resubmit) |
| Test work queue item resubmission.
|
|
static void | delayed_work_handler (struct k_work *work) |
|
static void | test_delayed_init (void) |
| Test delayed work queue init.
|
|
static void | coop_delayed_work_main (void *p1, void *p2, void *p3) |
|
static void | test_delayed_submit (void) |
| Test delayed workqueue submit.
|
|
static void | coop_delayed_work_cancel_main (void *p1, void *p2, void *p3) |
|
| ZTEST (workqueue_delayed, test_delayed_cancel) |
| Test work queue delayed cancel.
|
|
| ZTEST (workqueue_delayed, test_delayed_pending) |
|
| ZTEST (workqueue_delayed, test_delayed) |
| Test delayed work items.
|
|
static void | triggered_work_handler (struct k_work *work) |
|
static void | test_triggered_init (void) |
| Test triggered work queue init.
|
|
static void | test_triggered_submit (k_timeout_t timeout) |
| Test triggered workqueue submit.
|
|
static void | test_triggered_trigger (void) |
| Trigger triggered workqueue execution.
|
|
| ZTEST (workqueue_triggered, test_triggered) |
| Test triggered work items.
|
|
| ZTEST (workqueue_triggered, test_already_triggered) |
| Test already triggered work items.
|
|
static void | triggered_resubmit_work_handler (struct k_work *work) |
|
| ZTEST (workqueue_triggered, test_triggered_resubmit) |
| Test resubmission of triggered work queue item.
|
|
| ZTEST (workqueue_triggered, test_triggered_no_wait) |
| Test triggered work items with K_NO_WAIT timeout.
|
|
| ZTEST (workqueue_triggered, test_triggered_no_wait_expired) |
| Test expired triggered work items with K_NO_WAIT timeout.
|
|
| ZTEST (workqueue_triggered, test_triggered_wait) |
| Test triggered work items with arbitrary timeout.
|
|
| ZTEST (workqueue_triggered, test_triggered_wait_expired) |
| Test expired triggered work items with arbitrary timeout.
|
|
static void | msg_provider_thread (void *p1, void *p2, void *p3) |
|
static void | triggered_from_msgq_work_handler (struct k_work *work) |
|
static void | test_triggered_from_msgq_init (void) |
|
static void | test_triggered_from_msgq_start (void) |
|
| ZTEST (workqueue_triggered, test_triggered_from_msgq) |
| Test triggered work item, triggered by a msgq message.
|
|
| ZTEST (workqueue_triggered, test_delayed_work_define) |
| Test delayed work queue define macro.
|
|
| ZTEST (workqueue_triggered, test_triggered_cancel) |
| Verify k_work_poll_cancel()
|
|
static void * | workq_setup (void) |
|
| ZTEST_SUITE (workqueue_delayed, NULL, workq_setup, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL) |
|
| ZTEST_SUITE (workqueue_triggered, NULL, workq_setup, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL) |
|