MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / alarm_handler

Function alarm_handler

test/other/test_itimer.c:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18_Atomic int got_alarm[3];
19
20void alarm_handler(int dummy) {
21 printf("Received SIGALRM!\n");
22 got_alarm[ITIMER_REAL]++;
23}
24
25void vtalarm_handler(int dummy) {
26 printf("Received SIGVTALRM!\n");

Callers

nothing calls this directly

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected