MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / modTimerReschedule

Function modTimerReschedule

modules/base/timer/mc/timer.c:178–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void modTimerReschedule(modTimer timer, int firstInterval, int secondInterval)
179{
180 modCriticalSectionDeclare;
181 modCriticalSectionBegin();
182 timer->triggerTime = modMilliseconds() + firstInterval;
183 timer->repeatInterval = secondInterval;
184 timer->flags &= ~kTimerFlagUnscheduled;
185 modCriticalSectionEnd();
186}
187
188void modTimerUnschedule(modTimer timer)
189{

Callers 6

socketStateMachineFunction · 0.50
ls013b4dn04EndFunction · 0.50
xs_timer_scheduleFunction · 0.50
espDebugBreakFunction · 0.50
espDebugBreakFunction · 0.50
modDebugBreakFunction · 0.50

Calls 1

modMillisecondsFunction · 0.85

Tested by

no test coverage detected