pkarashchenko commented on issue #6012:
URL: https://github.com/apache/nuttx/issues/6012#issuecomment-1597341056

   We can't use critical section since file list is growing dynamically by 
`files_extend()` that use `kmm_realloc()` that tries to take the heap 
protection mutex, so with critical section can be interrupted if other thread 
is holing heap mutex. That is why I think that rwlock might be a better 
solution.


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

Reply via email to