anchao opened a new pull request, #8321: URL: https://github.com/apache/nuttx/pull/8321
## Summary 1. sched/wqueue: semaphore count should be consistent with the number of work entries. The number of work entries will be inconsistent with semaphore count if the work is canceled, in extreme case, semaphore count will overflow and fallback to 0 the workqueue will stop scheduling the enqueue work. 2. sched/semaphore: correct the return value of sem_post() sem_post() should return EOVERFLOW if maximum allowable value for a semaphore would be exceeded. Reference: https://man7.org/linux/man-pages/man3/sem_post.3.html ## Impact N/A ## Testing sabre-6quad/netnsh_wb -- 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]
