xiaoxiang781216 commented on code in PR #15129: URL: https://github.com/apache/nuttx/pull/15129#discussion_r1913468421
########## sched/sched/sched_timerexpiration.c: ########## @@ -100,12 +100,30 @@ static clock_t g_timer_tick; * that just expired. The value zero means that no timer was active. */ -static unsigned int g_timer_interval; +static atomic_t g_timer_interval; /**************************************************************************** * Private Functions ****************************************************************************/ +static inline_function clock_t get_time_tick(void) Review Comment: ```suggestion static inline_function clock_t get_time_tick(void) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
