You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "patacongo (via GitHub)" <gi...@apache.org> on 2023/08/18 20:38:11 UTC

[GitHub] [nuttx] patacongo commented on pull request #10295: vfs:add nxsched_foreach to sched_lock avoid crash

patacongo commented on PR #10295:
URL: https://github.com/apache/nuttx/pull/10295#issuecomment-1684412524

   This is a special case of the more general Issue:  #1138.  I don't think we would want such a specific solution if a more general solution is possible.
   
   But there are also places where we want to be suspended while we are in a critical section.  Some logic depends on it.  Perhaps this should still be in enter/leave_critical_section with an parameter to permit suspension or not.


-- 
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