pkarashchenko commented on pull request #5849:
URL: https://github.com/apache/incubator-nuttx/pull/5849#issuecomment-1080658056


   I'm more concerned about `sched_lock` / `sched_unlock`, but I see that those 
are the cases for else of `if (sem->semcount > 0)`, so we will not hit it on 
start-up because sem count is inited to 1. I just re-examined 
`nxsem_add_holder_tcb` case and that seems also to be safe because of `if 
(htcb->flink != NULL)` check.
   
   Ok. let's proceed with this change.


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


Reply via email to