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

Function g

test/pthread/test_pthread_lsan_leak.cpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void g(void) {
18 void *stuff = malloc(3432);
19 stuff = 0;
20 tls_ptr = malloc(1234);
21 tls_ptr = 0;
22 atomic_store(&thread_done, true);
23 while (1);
24}
25
26int main(int argc, char **argv) {
27 std::thread t(g);

Callers

nothing calls this directly

Calls 2

mallocFunction · 0.70
atomic_storeFunction · 0.50

Tested by

no test coverage detected