Skip to content
Commit e2b81b48 authored by Peter Mitsis's avatar Peter Mitsis Committed by Christopher Friedt
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>
(cherry picked from commit 3e2f30a7)
parent 45c41bc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment