MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / addTimer

Function addTimer

source/kernel/kscheduler.cpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void addTimer(KTimerCallback* timer) {
63 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(timerMutex);
64 timers.addToBack(&timer->node);
65 timer->active = true;
66}
67
68void removeTimer(KTimerCallback* timer) {
69 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(timerMutex);

Callers 4

setTimesMethod · 0.85
alarmMethod · 0.85
setitimerMethod · 0.85
waitWithTimeoutMethod · 0.85

Calls 1

addToBackMethod · 0.80

Tested by

no test coverage detected