You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "hujun260 (via GitHub)" <gi...@apache.org> on 2023/07/26 12:39:17 UTC
[GitHub] [nuttx] hujun260 opened a new pull request, #9905: fs: modify or remove sched_[un]lock
hujun260 opened a new pull request, #9905:
URL: https://github.com/apache/nuttx/pull/9905
## Summary
fs: modify or remove sched_[un]lock
## Impact
none
## Testing
ostest
--
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
[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9905: fs: modify or remove sched_[un]lock
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] pkarashchenko merged pull request #9905: fs: modify or remove sched_[un]lock
Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko merged PR #9905:
URL: https://github.com/apache/nuttx/pull/9905
--
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
[GitHub] [nuttx] xiaoxiang781216 commented on pull request #9905: fs: modify or remove sched_[un]lock
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #9905:
URL: https://github.com/apache/nuttx/pull/9905#issuecomment-1657006622
@hujun260 please rebase your change to fix the conflict.
--
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
[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9905: fs: modify or remove sched_[un]lock
Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
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