Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions sched/sched/sched_critmonitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,18 +454,6 @@ void nxsched_switch_critmon(FAR struct tcb_s *from, FAR struct tcb_s *to)
}

#endif /* CONFIG_SCHED_CRITMONITOR_MAXTIME_CSECTION */

#if CONFIG_SCHED_CRITMONITOR_MAXTIME_PREEMPTION >= 0

/* Did this task disable pre-emption? */

if (to->lockcount > 0)
{
/* Yes.. Save the start time */

to->premp_start = current;
}
#endif /* CONFIG_SCHED_CRITMONITOR_MAXTIME_PREEMPTION */
}

void nxsched_update_critmon(FAR struct tcb_s *tcb)
Expand Down
Loading