|
| | LOG_MODULE_REGISTER (test) |
| |
| | K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| static | K_THREAD_STACK_DEFINE (tstack_custom,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| static | K_THREAD_STACK_DEFINE (tstack_name,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| void | test_systhreads_main (void) |
| | Verify main thread.
|
| |
| void | test_systhreads_idle (void) |
| | Verify idle thread.
|
| |
| static void | customdata_entry (void *p1, void *p2, void *p3) |
| |
| void | test_customdata_get_set_coop (void) |
| | Test thread custom data get/set from coop thread.
|
| |
| static void | thread_name_entry (void *p1, void *p2, void *p3) |
| |
| void | test_thread_name_get_set (void) |
| | Test thread name get/set from supervisor thread.
|
| |
| void | test_thread_name_user_get_set (void) |
| | Test thread name get/set from user thread.
|
| |
| void | test_customdata_get_set_preempt (void) |
| | Test thread custom data get/set from preempt thread.
|
| |
| static void | umode_entry (void *thread_id, void *p2, void *p3) |
| |
| static void | enter_user_mode_entry (void *p1, void *p2, void *p3) |
| | Test k_thread_user_mode_enter to cover when userspace is not supported/enabled.
|
| |
| void | test_user_mode (void) |
| |
| | K_THREAD_STACK_DEFINE (join_stack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| | K_THREAD_STACK_DEFINE (control_stack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| static void | join_entry (void *p1, void *p2, void *p3) |
| |
| static void | control_entry (void *p1, void *p2, void *p3) |
| |
| static void | do_join_from_isr (const void *arg) |
| |
| static int | join_scenario_interval (enum control_method m, int64_t *interval) |
| |
| static int | join_scenario (enum control_method m) |
| |
| void | test_thread_join (void) |
| | Test thread join.
|
| |
| void | test_thread_join_isr (void) |
| | Test thread join from ISR.
|
| |
| | K_THREAD_STACK_DEFINE (deadlock1_stack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| | K_THREAD_STACK_DEFINE (deadlock2_stack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| |
| static void | deadlock1_entry (void *p1, void *p2, void *p3) |
| |
| static void | deadlock2_entry (void *p1, void *p2, void *p3) |
| |
| void | test_thread_join_deadlock (void) |
| | Test case for thread join deadlock scenarios.
|
| |
| static void | user_start_thread (void *p1, void *p2, void *p3) |
| |
| void | test_thread_timeout_remaining_expires (void) |
| | Test case for verifying thread timeout expiration and remaining time.
|
| |
| static void | foreach_callback (const struct k_thread *thread, void *user_data) |
| |
| void | test_thread_runtime_stats_get (void) |
| | Test case for thread runtime statistics retrieval in Zephyr kernel.
|
| |
| void | test_k_busy_wait (void) |
| | Test the behavior of k_busy_wait with thread runtime statistics.
|
| |
| static void | tp_entry (void *p1, void *p2, void *p3) |
| |
| void | test_k_busy_wait_user (void) |
| | Test the behavior of k_busy_wait with thread runtime statistics in user mode.
|
| |
| static int | large_stack (size_t *space) |
| |
| static int | small_stack (size_t *space) |
| |
| void | test_k_thread_stack_space_get_user (void) |
| | Test k_thread_stack_sapce_get.
|
| |
| static void * | thread_test_setup (void) |
| |
| | ZTEST_SUITE (threads_lifecycle, NULL, thread_test_setup, NULL, NULL, NULL) |
| |
| | ZTEST_SUITE (threads_lifecycle_1cpu, NULL, thread_test_setup, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL) |
| |