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


##########
include/nuttx/drivers/rwbuffer.h:
##########
@@ -137,7 +137,7 @@ struct rwbuffer_s
   /* This is the state of the read-ahead buffering */
 
 #ifdef CONFIG_DRVR_READAHEAD
-  sem_t         rhsem;           /* Enforces exclusive access to the write 
buffer */
+  mutex_t       rhlock;          /* Enforces exclusive access to the write 
buffer */
   uint8_t      *rhbuffer;        /* Allocated read-ahead 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