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

kernel: use sched lock for k_thread_suspend/resume



This logic should be using the sched_lock and not its own
separate lock for these two functions.

Some simplications were made; z_thread_single_resume and
z_thread_single_suspend were only used in one place, and there was
some redundant logic for whether to reschedule in the suspend case.

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