You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/04/27 15:58:30 UTC

[GitHub] [incubator-nuttx] maht commented on a diff in pull request #6152: libc/stdio: Add stdio file locking functions

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


##########
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:
   ok, I was not sure about it, but if you feel it's better I will try to do it.



-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org