hujun260 commented on code in PR #15324: URL: https://github.com/apache/nuttx/pull/15324#discussion_r1901463258
########## arch/x86_64/src/intel64/intel64_rtc.c: ########## @@ -64,6 +65,10 @@ * Private Data ****************************************************************************/ +#ifdef CONFIG_RTC_HIRES +static spinlock_t g_rtc_lock = SP_UNLOCKED; Review Comment:  We ensure the atomic of multiple global variables and the operations/judgments performed among them. -- 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