pkarashchenko commented on issue #6310:
URL: 
https://github.com/apache/incubator-nuttx/issues/6310#issuecomment-1135143549

   The other method could be to iterate `g_waitingforsemaphore` the `n` times 
where `n` is a number of currently held semaphores. But the complexity of such 
operation might be quite high. So we can pick all the tasks that are waiting 
for each semaphore, then get the maximum priority across those tasks and adjust 
current task priority based on that.


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