anchao commented on code in PR #15126: URL: https://github.com/apache/nuttx/pull/15126#discussion_r1879216487
########## 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: any elegant way to remove this global variable? -- 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