jlaitine commented on code in PR #16423:
URL: https://github.com/apache/nuttx/pull/16423#discussion_r2102211212


##########
sched/semaphore/sem_post.c:
##########
@@ -197,7 +197,7 @@ int nxsem_post_slow(FAR sem_t *sem)
 
           if (mutex)
             {
-              uint32_t blocking_bit = dq_empty(SEM_WAITLIST(sem)) ?
+              uint32_t blocking_bit = !dq_empty(SEM_WAITLIST(sem)) ?

Review Comment:
   but of course we can (although I don't see why). it is the same. will do...



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to