nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] patacongo removed a comment on issue #954: x86_64 fails ostest if PRIORITY_INHERITANCE is enabled
Date Sun, 03 May 2020 13:38:40 GMT

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



Mime
View raw message