yamt commented on code in PR #15566:
URL: https://github.com/apache/nuttx/pull/15566#discussion_r1917569176


##########
libs/libc/pthread/pthread_condinit.c:
##########
@@ -75,6 +77,7 @@ int pthread_cond_init(FAR pthread_cond_t *cond,
     {
       cond->clockid = attr ? attr->clockid : CLOCK_REALTIME;
       cond->wait_count = 0;
+      nxmutex_init(&cond->mutex);

Review Comment:
   i guess pthread_cond_destroy needs nxmutex_destroy.



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