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

Function Timer_InterruptSuspend

src/timer.c:203–211  ·  view source on GitHub ↗

* Suspend the timer interrupt handling. */

Source from the content-addressed store, hash-verified

201 * Suspend the timer interrupt handling.
202 */
203static void Timer_InterruptSuspend(void)
204{
205#if defined(_WIN32)
206 if (s_timerThread != NULL) DeleteTimerQueueTimer(NULL, s_timerThread, NULL);
207 s_timerThread = NULL;
208#else
209 setitimer(ITIMER_REAL, NULL, NULL);
210#endif /* _WIN32 */
211}
212
213/**
214 * Resume the timer interrupt handling.

Callers 1

Timer_UninitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected