commit | 3e2f30a7ef359424086dfff0664170afce303e2d | [log] [tgz] |
---|---|---|
author | Peter Mitsis <peter.mitsis@intel.com> | Fri Jul 29 09:29:32 2022 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Aug 03 17:43:04 2022 -0400 |
tree | 27368d1211f8a5e37682995225abbf4ff7081d15 | |
parent | 3967911d3b3e1b36e779d7fe8b74c5d44374eeda [diff] |
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>