yamt commented on PR #13296: URL: https://github.com/apache/nuttx/pull/13296#issuecomment-2426108186
> > > > > This prevents the file from being closed while it is being read or written > > > > > > > > > > > > what happens w/o this enabled? a crash? > > > > > > > > > Prevent multithreaded operations on the same filep when one is in r/w and the other is closed > > > > > > my question is, why do you need to prevent it? > > This commit can solve the above problem and avoid the crash, in turn, why let such an operation crash? Reference counting makes the read and write process more robust if this is to fix a crash, i don't understand why it should be optional. -- 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]
