Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
void 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
28
int main() {
29
volatile int x = 0;
Callers
1
main
Function · 0.70
Calls
1
printf
Function · 0.85
Tested by
no test coverage detected