Skip to content
Commit fd3a8ee2 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

tests: kernel/sys_mutex: sleep a bit for private_mutex to lock



With SMP, the private_mutex may not be locked fast enough by
thread_12 after the thread creation as it might take longer
for a thread to start running the entry function, resulting
in test failure when the main test thread goes into locking
it again. So give it a bit more delay after thread creation
so thread_12 has a chance to lock the private_mutex.

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