xiaoxiang781216 commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r988568923


##########
drivers/pipes/pipe.c:
##########
@@ -64,7 +64,7 @@ static const struct file_operations g_pipe_fops =
   pipecommon_poll      /* poll */
 };
 
-static sem_t g_pipesem = SEM_INITIALIZER(1);
+static mutex_t g_pipelock = NXMUTEX_INITIALIZER;
 static int   g_pipeno;

Review Comment:
   Done.



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