SMP Tests

Verify SMP with 2 cooperative threads.

test_smp_coop_threads()

Verify CPU IDs of threads in SMP.

test_cpu_id_threads()

Verify the code path when we do context switch in k_thread_abort on SMP system.

test_coop_switch_in_abort()

Test cooperative threads non-preemption.

test_coop_resched_threads()

Test preemptness of preemptive thread.

test_preempt_resched_threads()

Validate behavior of thread when it yields.

test_yield_threads()

Test behavior of thread when it sleeps.

test_sleep_threads()

Test behavior of wakeup() in SMP case.

test_wakeup_threads()

Test scenario that a thread release the global lock.

test_smp_release_global_lock()

Test if the concurrency of SMP works or not.

test_inc_concurrency()