MCPcopy Create free account
hub / github.com/apple/foundationdb / startThread

Function startThread

fdbrpc/sim2.actor.cpp:1118–1121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116 }
1117
1118 THREAD_HANDLE startThread(THREAD_FUNC_RETURN (*func)(void*), void* arg, int stackSize, const char* name) override {
1119 SimThreadArgs* simArgs = new SimThreadArgs(func, arg);
1120 return ::startThread(simStartThread, simArgs, stackSize, name);
1121 }
1122
1123 void getDiskBytes(std::string const& directory, int64_t& free, int64_t& total) override {
1124 ProcessInfo* proc = getCurrentProcess();

Callers 5

parseArgsInternalMethod · 0.50
fdb_flow_testFunction · 0.50
startTestFunction · 0.50
_test_versionstampFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by 2

startTestFunction · 0.40
_test_versionstampFunction · 0.40