Skip to content
Commit c7bb423f authored by James Harris's avatar James Harris Committed by Anas Nashif
Browse files

kernel: fix race conditions with z_ready_thread



Several internal APIs wrote thread attributes (return value, mainly)
_after_ calling `z_ready_thread`. This is unsafe, at least in SMP,
because another core could have already picked up and run the thread.

Fixes #32800.

Signed-off-by: default avatarJames Harris <james.harris@intel.com>
parent bb014514
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment