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

Function f

test/test_fibers.cpp:64–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64[[noreturn]]
65static void f(void *arg) {
66 int *p = (int*)arg;
67 *p = 0;
68 leaf();
69 G.fibers[0].swap(&G.main);
70 fib(arg);
71
72 G.fibers[0].result = 1;
73 G.fibers[0].swap(&G.main);
74 abort();
75}
76
77[[noreturn]]
78static void g(void *arg) {

Callers 15

mainFunction · 0.70
decoratedFunction · 0.70
metafuncFunction · 0.70
metafuncFunction · 0.70
decoratedFunction · 0.70
doCallbackFunction · 0.50
libwasmfs_node.jsFile · 0.50
libpthread.jsFile · 0.50
tryFSOperationFunction · 0.50
libcore.jsFile · 0.50
as_integer_helperFunction · 0.50

Calls 4

leafFunction · 0.85
fibFunction · 0.70
abortFunction · 0.50
swapMethod · 0.45

Tested by

no test coverage detected