yamt commented on code in PR #6152:
URL: https://github.com/apache/incubator-nuttx/pull/6152#discussion_r859210695


##########
libs/libc/stdio/lib_libfilesem.c:
##########
@@ -95,6 +95,47 @@ void lib_take_semaphore(FAR struct file_struct *stream)
     }
 }
 
+/****************************************************************************
+ * lib_try_take_semaphore
+ ****************************************************************************/
+
+int lib_try_take_semaphore(FAR struct file_struct *stream)

Review Comment:
   i feel it's better to share code with lib_take_semaphore



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to