crafcat7 opened a new pull request, #11302: URL: https://github.com/apache/nuttx/pull/11302
## Summary Based on the discussion in [PR#9739](https://github.com/apache/nuttx/pull/9739), I implemented a simple read/write locking mechanism. It is implemented with three counts and a semaphore (for blocking locks). In this implementation, in addition to determining whether the lock can be successfully locked by the number of readers and writers, we use the number of waiters to determine whether to post a semaphore to wake up the task or not. ## Impact Introducing a new lock type implementation ## Testing Passed a simple local read/write locking use case 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]
