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

Function first

test/core/test_asyncify_longjmp.c:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void first(void) {
22 printf("first\n"); // prints
23 emscripten_sleep(1);
24 longjmp(buf, 1); // jumps back to where setjmp was called - making setjmp now
25 // return 1
26}
27
28int main() {
29 volatile int x = 0;

Callers 1

mainFunction · 0.70

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected