zephyr/tests/kernel
Jaxson Han 81ca50900d tests: kernel: spinlock: Fix test_trylock thread reusable issue
The test_trylock reuses the cpu1_thread, but there is no way for it to
exit. This will cause the thread created twice, as a result, two cpu
running the same thread simultaneously cause an unexpected crash.

Fix this by adding initialization of resources and also the exit for the
cpu1_thread.

Signed-off-by: Jaxson Han <jaxson.han@arm.com>
2023-08-02 16:34:04 +02:00
..
cache
common
condvar/condvar_api
context tests: kernel: fix some test identifiers 2023-07-19 18:07:49 -04:00
device tests: kernel: device: test sub-priority 2023-07-25 15:58:06 +00:00
early_sleep
events tests: kernel: events: test return value 2023-07-07 09:24:25 +02:00
fatal
fifo
fpu_sharing
gen_isr_table tests: kernel: gen_isr_table.riscv_direct: exclude adp_xc7k_ae350 2023-07-17 10:10:31 +00:00
interrupt
lifo
mbox
mem_heap shared_multi_heap: Use proper enum instead of int 2023-07-26 07:56:39 -04:00
mem_protect
mem_slab tests: kernel: fix some test identifiers 2023-07-19 18:07:49 -04:00
mp tests: kernel/mp: extend to more CPUs 2023-07-21 17:48:05 -04:00
msgq tests: kernel: fix some test identifiers 2023-07-19 18:07:49 -04:00
mutex tests: kernel/sys_mutex: sleep a bit for private_mutex to lock 2023-07-21 17:47:25 -04:00
obj_tracking
pending
pipe
poll
profiling/profiling_api
queue
sched
semaphore
sleep soc: ti: cc13/26xx: clean up include hierarchy 2023-07-07 18:46:24 -04:00
smp tests: kernel/smp: mark torture test as skipped if factor is 0 2023-07-21 17:46:46 -04:00
smp_boot_delay
spinlock tests: kernel: spinlock: Fix test_trylock thread reusable issue 2023-08-02 16:34:04 +02:00
stack/stack
threads kernel: userspace: Dynamic thread stack object 2023-07-17 16:56:01 -04:00
tickless/tickless_concept
timer tests: test the timepoint API 2023-07-25 09:12:26 +02:00
usage/thread_runtime_stats
workq tests: kernel: fix some test identifiers 2023-07-19 18:07:49 -04:00
xip