casaroli opened a new pull request, #7816: URL: https://github.com/apache/nuttx/pull/7816
## Summary Updates `pthread_sem_take` and `pthread_mutex_take` to not take `intr` parameter. The `intr` parameter was used for allowing the call to these functions to return `EINTR` (in case of we receiving a signal). In POSIX, this should not happen, and we should continue to be locked (while trying to acquire the lock) even when we get `EINTR`. So after this fix, there is now some dead code than can be removed. ## Impact The apis of the internal functions `pthread_sem_take` and `pthread_mutex_take` have been changed to not have the `intr` parameter. They can also never return `EINTR`. ## Testing -- 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]
