patacongo opened a new pull request #765: sched/sched_setpriority.c:  
DEBUGVERIFY, not DEBUGASSERT.
URL: https://github.com/apache/incubator-nuttx/pull/765
 
 
   Hello,
   I am testing priority inversion feauture of Nuttx scheduler. I encounter 
with problem in tests.
   Here is problem:
   nxsched_readytorun_setpriority() function not works as expected when 
DEBUG_ASSERTION not enabled. Because sched_removereadytorun() and 
sched_addreadytorun()  is not called in this case. These functions wrapped with 
DEBUGASSERT macro and with the effect of DEBUGASSERT macro, 
sched_removereadytorun() and sched_addreadytorun() not called when 
DEBUG_ASSERTION not enabled. Therefore priority inversion not works as expected.
   
   Could you check this problem ? Is this a bug, if not what is the purpose of 
this code ?
   Thanks,
   Şükrü Bahadır Arslan

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to