xiaoxiang781216 commented on code in PR #6271:
URL: https://github.com/apache/incubator-nuttx/pull/6271#discussion_r873048193
##########
sched/pthread/pthread_condwait.c:
##########
@@ -107,7 +107,7 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR
pthread_mutex_t *mutex)
* or if the thread is canceled (ECANCELED)
*/
- status = pthread_sem_take((FAR sem_t *)&cond->sem, NULL, false);
+ status = nxsem_wait_uninterruptible(&cond->sem);
Review Comment:
Yes, you are right. let me drop the change from this file.
--
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]