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


##########
include/nuttx/drivers/rwbuffer.h:
##########
@@ -127,7 +127,7 @@ struct rwbuffer_s
   /* This is the state of the write buffering */
 
 #ifdef CONFIG_DRVR_WRITEBUFFER
-  sem_t         wrsem;           /* Enforces exclusive access to the write 
buffer */
+  mutex_t       wrlock;          /* Enforces exclusive access to the write 
buffer */
   struct work_s work;            /* Delayed work to flush buffer after a delay 
with no activity */
   uint8_t      *wrbuffer;        /* Allocated write buffer */

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