You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/22 06:56:56 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #7159: sched: merge waitsem and msgwaitq

pkarashchenko commented on code in PR #7159:
URL: https://github.com/apache/incubator-nuttx/pull/7159#discussion_r977269758


##########
sched/semaphore/sem_waitirq.c:
##########
@@ -97,10 +97,6 @@ void nxsem_wait_irq(FAR struct tcb_s *wtcb, int errcode)
 
       sem->semcount++;
 
-      /* Indicate that the semaphore wait is over. */
-
-      wtcb->waitsem = NULL;

Review Comment:
   Don't we need to set waitobj to NULL here?



-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org