MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / Timer_InterruptWindows

Function Timer_InterruptWindows

src/timer.c:184–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183#if defined(_WIN32)
184void CALLBACK Timer_InterruptWindows(LPVOID arg, BOOLEAN TimerOrWaitFired) {
185 VARIABLE_NOT_USED(arg);
186 VARIABLE_NOT_USED(TimerOrWaitFired);
187
188 SuspendThread(s_timerMainThread);
189#if defined(WITH_SDL) || defined(WITH_SDL2)
190 s_timer_count++;
191#else
192 Timer_InterruptRun(0);
193#endif /* defined(WITH_SDL) || defined(WITH_SDL2) */
194 ResumeThread(s_timerMainThread);
195}
196#endif /* _WIN32 */
197
198#if !defined(TOS) && !defined(DOS)

Callers

nothing calls this directly

Calls 1

Timer_InterruptRunFunction · 0.85

Tested by

no test coverage detected