anchao commented on code in PR #15126: URL: https://github.com/apache/nuttx/pull/15126#discussion_r1879215710
########## sched/pthread/pthread_mutex.c: ########## @@ -38,6 +38,12 @@ #include "sched/sched.h" #include "pthread/pthread.h" +/**************************************************************************** + * Public Data + ****************************************************************************/ + +spinlock_t mutex_spinlock = SP_UNLOCKED; Review Comment: ```suggestion spinlock_t g_mutex_spinlock = SP_UNLOCKED; ``` -- 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