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

   ## Summary
   
   Avoid spinlock/mutex by using atomic
   
   Use atomic_cmpxchg to ensure that in multithreaded situations, if someone 
releases the buffer, it can be applied for in time. And use atomic_ulong to 
save free_bitmap
   
   ## Impact
   
   **Is a new feature added?:** NO
   **Impact on build:** NO
   **Impact on hardware:** NO, this change does not specifically target any 
particular hardware architectures or boards.
   **Impact on documentation:** NO,This patch does not introduce any new 
features
   **Impact on compatibility:** This implementation aims to be backward 
compatible. No existing functionality is expected to be broken.
   
   ## Testing
   
   Build Host(s): Linux x86
   Target(s): sim/nsh
   
   Passed the file system related syscall test
   
   
   


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