jasonbu commented on PR #16795:
URL: https://github.com/apache/nuttx/pull/16795#issuecomment-3737143951

   > Thank you @jasonbu :-) Do we have some sort of nuke test application for 
this case where corner cases can be generated and verified? It may be good to 
see how things are handled on various Sim:OS (i.e. Linux, BSD, macOS, etc)?
   > 
   > Is the code in PR description enough / sufficient to cover all scenarios 
or just a starting point? Can we put that as starting point of 
`nuttx-apps/testing/simtest` and create `sim:simtest` target so its easy to 
build/verify for everyone? :-)
   
   hi, @cederom ,
   rebase to the lastest code, still working, and updated the sample.
   it still corner case, and not eary to take it into standard test/example.
   
   The 1 million times test, will not able to reproduce the problem.
   using 10 million times, will >50% re-produce. also try use 2nd mount point 
and 2nd host relative API to generate a host-API caused errno set.
   The possiblily will even lower, so finally use host_errno_set and 
host_errno_get to make it more eary to re-produce the problem.
   
   In the real-complex scene. True issue will be, if we don't use 
host_uninterruptible_errno, will cause errno randomly covered by other 
host-API. And if we depends errno to do host behavior(should be regular 
desisng). errno occupation will cause a mess.
   
   CC @yamt 


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