Skip to content
Commit c4fbc083 authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

kernel: fixup thread monitor locking



The lock in kernel/thread.c was pulling double-duty, protecting
both the thread monitor linked list and also serializing access
to k_thread_suspend/resume functions.

The monitor list now has its own dedicated lock.

The object tracing test has been updated to use k_thread_foreach().

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 18a30e91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment