u7k4rs6 opened a new pull request, #4026:
URL: https://github.com/apache/nuttx-apps/pull/4026

   ## Summary
   
   Adds a test that locks, trylocks and destroys a mutex that was memset to 
zero instead of initialized, the way Rust's libc crate sets one up. See 
apache/nuttx#20407 and the fix in apache/nuttx#21719.
   
   ## Impact
   
   Test only. ostest fails at this test until the NuttX PR is in.
   
   ## Testing
   
   Host: Linux 7.0, gcc 15.2, `sim:nsh` with the NuttX PR applied: ostest 
passes, the new test does 32 loops per thread with 0 errors. Without the NuttX 
PR it hits `Assertion failed pid != 0` in `pthread_mutex_destroy.c`.
   


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