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 2022/01/25 07:33:21 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5331: sched/critmonitor: remove the assertion if counter == 0

pkarashchenko commented on a change in pull request #5331:
URL: https://github.com/apache/incubator-nuttx/pull/5331#discussion_r791427199



##########
File path: sched/sched/sched_critmonitor.c
##########
@@ -280,7 +280,6 @@ void nxsched_resume_critmon(FAR struct tcb_s *tcb)
       /* Yes.. Save the start time */
 
       tcb->premp_start = current;
-      DEBUGASSERT(tcb->premp_start != 0);

Review comment:
       Do we know why assertion is here and why it is removed?
   The PR description does not reflect this info




-- 
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-unsubscribe@nuttx.apache.org

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