You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/07/26 16:50:36 UTC
[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9905: fs: modify or remove sched_[un]lock
pkarashchenko commented on code in PR #9905:
URL: https://github.com/apache/nuttx/pull/9905#discussion_r1275242733
##########
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:
Many related comments in code are left unchanged.
I will take a look more carefully to semaphore related changes
--
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