Skip to content
Commit 27a22710 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 f4a03dfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment