xiaoxiang781216 commented on code in PR #9905:
URL: https://github.com/apache/nuttx/pull/9905#discussion_r1275248975
##########
fs/semaphore/sem_open.c:
##########
@@ -110,7 +111,7 @@ FAR sem_t *sem_open(FAR const char *name, int oflags, ...)
* this requirement.
*/
- sched_lock();
+ flags = enter_critical_section();
Review Comment:
don't need crittical section here
--
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]