commit | dde3d6ca9b532a6ea547ce8ab1e215628d3f2410 | [log] [tgz] |
---|---|---|
author | Chen Peng1 <peng1.chen@intel.com> | Wed Sep 29 10:21:58 2021 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Sep 29 09:18:12 2021 -0400 |
tree | 106056bace580e1f6c7f9578079671e9178ccd76 | |
parent | ad36dcdf155c6e4b864951fc86910467b0a08a01 [diff] |
timer: mask interrupts in timer's timeout handler. before running timer's timeout function, we need to make sure that those threads waiting on this timer have been added into the timer's wait queue, so add operations to use timer lock to mask interrupts in z_timer_expiration_handler function to synchronize timer's wait queue. Signed-off-by: Chen Peng1 <peng1.chen@intel.com>