xiaoxiang781216 commented on code in PR #15126:
URL: https://github.com/apache/nuttx/pull/15126#discussion_r1911881004


##########
sched/pthread/pthread_mutex.c:
##########
@@ -38,6 +38,12 @@
 #include "sched/sched.h"
 #include "pthread/pthread.h"
 
+/****************************************************************************
+ * Public Data
+ ****************************************************************************/
+
+static spinlock_t g_mutex_spinlock = SP_UNLOCKED;

Review Comment:
   but mutex can't(should be wrong) add two mhead list.



-- 
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

Reply via email to