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


##########
sched/semaphore/sem_post.c:
##########
@@ -116,7 +153,10 @@ int nxsem_post_slow(FAR sem_t *sem)
    * initialized if the semaphore is to used for signaling purposes.
    */
 
-  nxsem_release_holder(sem);
+  if (!mutex || blocking)

Review Comment:
   Can you please explain what you mean. You need to add the holder to 
tcb->holdsem list for the priority inheritance / restoration.



-- 
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