hujun260 commented on code in PR #15138: URL: https://github.com/apache/nuttx/pull/15138#discussion_r1879829856
########## sched/clock/clock_adjtime.c: ########## @@ -108,7 +109,7 @@ static int adjtime_start(long long adjust_usec) ppb = -ppb_limit; } - flags = enter_critical_section(); + flags = spin_lock_irqsave(&g_adjtime_lock); Review Comment: up_adjtime up_rtc_adjtime are only called in this file and all have been protected by g_adjtime_lock -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org