Skip to content
Commit 3e2f30a7 authored by Peter Mitsis's avatar Peter Mitsis Committed by Anas Nashif
Browse files

kernel: fix race condition in sys_clock_announce()



Updates sys_clock_announce() such that the <announce_remaining> update
calculation is done after the callback. This prevents another core from
entering the timeout processing loop before the first core leaves it.

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent 3967911d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment