MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / do_test_fork_multithreaded

Function do_test_fork_multithreaded

deps/jemalloc/test/unit/fork.c:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96#ifndef _WIN32
97static void
98do_test_fork_multithreaded() {
99 thd_t child;
100 thd_create(&child, do_fork_thd, NULL);
101 do_fork_thd(NULL);
102 thd_join(child, NULL);
103}
104#endif
105
106TEST_BEGIN(test_fork_multithreaded) {

Callers 1

fork.cFile · 0.85

Calls 3

do_fork_thdFunction · 0.85
thd_createFunction · 0.50
thd_joinFunction · 0.50

Tested by

no test coverage detected