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 edited a comment on issue #765: sched/sched_setpriority.c: DEBUGVERIFY, not DEBUGASSERT.
Date Sat, 11 Apr 2020 16:09:22 GMT
patacongo edited a comment on issue #765: sched/sched_setpriority.c:  DEBUGVERIFY, not DEBUGASSERT.
URL: https://github.com/apache/incubator-nuttx/pull/765#issuecomment-612453692
 
 
   This error has been around since August 24, 2019.  It was introduced by commit e1202d2ed33a257cd6d812fde8c3a77a4d7c1d01
See https://github.com/apache/incubator-nuttx/commit/e1202d2ed33a257cd6d812fde8c3a77a4d7c1d01
   
   That commit changed all occurrences of ASSERT to DEBUGASSERT.  The logical flaw in do that
is that the logic withing ASSERT runs unconditionally.  Changing to DEBUGASSERT causes the
logic to only execute conditionally, introducing this error.

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


With regards,
Apache Git Services

Mime
View raw message