Skip to content
Commit f08c9fe2 authored by Daniel Leung's avatar Daniel Leung Committed by Benjamin Cabé
Browse files

tests: mem_protect/syscalls: test k_yield while in syscalls



The syscall stress test relies on timeslicing to switch between
threads, which utilizes the interrupt handling path to perform
context switching. It is also possible for kernel to switch
threads due to, for example, taking a mutex. This adds a bit of
code to the syscalls test to simulate this by yielding while
inside syscall handlers. This is to cover more scenarios so we
can catch issues earlier.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 9ade47bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment