Threads

Test object permission on dynamic user thread when index is reused.

test_dyn_thread_perms()

Test creation of dynamic user thread under kernel thread.

test_kernel_create_dyn_user_thread()

Test creation of dynamic user thread under user thread.

test_user_create_dyn_user_thread()

Verify main thread.

test_systhreads_main()

Verify idle thread.

test_systhreads_idle()

Test thread custom data get/set from coop thread.

test_customdata_get_set_coop()

Test thread name get/set from supervisor thread.

test_thread_name_get_set()

Test thread name get/set from user thread.

test_thread_name_user_get_set()

Test thread custom data get/set from preempt thread.

test_customdata_get_set_preempt()

Test thread join.

test_thread_join()

Test thread join from ISR.

test_thread_join_isr()

Test case for thread join deadlock scenarios.

test_thread_join_deadlock()

Test case for verifying thread timeout expiration and remaining time.

test_thread_timeout_remaining_expires()

Test case for thread runtime statistics retrieval in Zephyr kernel.

test_thread_runtime_stats_get()

Test the behavior of k_busy_wait with thread runtime statistics in user mode.

test_k_busy_wait_user()

Test k_thread_stack_sapce_get.

test_k_thread_stack_space_get_user()

Test to validate essential flag set/clear.

test_essential_thread_operation()

Abort an essential thread.

test_essential_thread_abort()

Abort an essential thread from itself.

test_essential_thread_abort_self()

Test k_thread_foreach API.

test_k_thread_foreach()

Test k_thread_foreach_unlock API.

test_k_thread_foreach_unlocked()

Test k_thread_foreach API with null callback.

test_k_thread_foreach_null_cb()

Test k_thread_foreach_unlocked API with null callback.

test_k_thread_foreach_unlocked_null_cb()

Test k_thread_state_str API with null callback.

test_k_thread_state_str()

Validate aborting a thread when called by current thread.

test_threads_abort_self()

Validate aborting a thread when called by other thread.

test_threads_abort_others()

Test abort on an already terminated thread.

test_threads_abort_repeat()

Test abort on delayed thread before it has started execution.

test_delayed_thread_abort()

Show that threads can be aborted from interrupt context by itself.

test_abort_from_isr()

Show that threads can be aborted from interrupt context.

test_abort_from_isr_not_self()

Test the CPU mask APIs for thread lifecycle management.

test_threads_cpu_mask()

Test setting and verifying thread priorities.

test_threads_priority_set()

Test changing thread priorities from an ISR.

test_isr_threads_priority_set_()

Check the parameters passed to thread entry function.

test_threads_spawn_params()

Spawn thread with higher priority.

test_threads_spawn_priority()

Spawn thread with a delay.

test_threads_spawn_delay()

Spawn thread with forever delay and highest priority.

test_threads_spawn_forever()

Validate behavior of multiple calls to k_thread_start.

test_thread_start()

Check the suspend and resume functionality in a cooperative thread.

test_threads_suspend_resume_cooperative()

Check the suspend and resume functionality in preemptive thread.

test_threads_suspend_resume_preemptible()

Check that suspending a thread is a schedule point when called on the current thread.

test_threads_suspend()

Check that suspending a thread cancels a preexisting thread timeout.

test_threads_suspend_timeout()

Check resuming a thread that is not suspended.

test_resume_unsuspend_thread()

test preempt thread initialization via K_THREAD_DEFINE

test_kdefine_preempt_thread()

test coop thread initialization via K_THREAD_DEFINE

test_kdefine_coop_thread()

test preempt thread initialization via k_thread_create

test_kinit_preempt_thread()

test coop thread initialization via k_thread_create

test_kinit_coop_thread()