tmedicci opened a new pull request, #12003:
URL: https://github.com/apache/nuttx/pull/12003

   ## Summary
   
   * esp32[|s2|s3]: Update libc stubs to properly acquire/release locks.
   
   Avoid using global mutexes and recursive mutexes as the locking mechanism to 
be acquired/released. Instead, create a specific lock for each call if it does 
not exist.
   
   ## Impact
   
   Functions like `_lock_init` set only a global lock in NuttX 
(`g_nxlock_common`), which may result in erroneous behavior if another lock is 
intended to be used (from another function that calls it, for instance). A 
unique lock must be used instead.
   
   ## Testing
   
   Internal CI testing + ESP32-DevKitC V4 +ESP32-Saola-1 v1.2 + 
ESP32-S3-DevKitC-1 v1.0


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