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 2020/05/03 13:38:40 UTC

[GitHub] [incubator-nuttx] patacongo removed a comment on issue #954: x86_64 fails ostest if PRIORITY_INHERITANCE is enabled

patacongo removed a comment on issue #954:
URL: https://github.com/apache/incubator-nuttx/issues/954#issuecomment-623103956


   I will have to look at the code later, but I think I disagree.  The caller of sem_wait gets to wait at the elevated priority, but once it receives the semaphore, it must NOT be permitted  to run at at that elevated priority.
   
   Therefore the correct place to restore its priority is in sem_post BEFORE  it has a chance to run.  But I will need to check,


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

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