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:Peter Mitsis <peter.mitsis@intel.com> (cherry picked from commit 3e2f30a7)
Loading
Please sign in to comment