Skip to content
Commit dde3d6ca authored by Peng Chen's avatar Peng Chen Committed by Anas Nashif
Browse files

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: default avatarChen Peng1 <peng1.chen@intel.com>
parent ad36dcdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment