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

Method start

flow/Net2.actor.cpp:2137–2142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2135 F f;
2136 Thing(F&& f) : f(std::move(f)) {}
2137 THREAD_FUNC start(void* p) {
2138 Thing* self = (Thing*)p;
2139 self->f();
2140 delete self;
2141 THREAD_RETURN;
2142 }
2143 };
2144 Thing* t = new Thing(std::move(func));
2145 return g_network->startThread(Thing::start, t);

Callers 6

rewrite_linesFunction · 0.45
run_threadsFunction · 0.45
run_threadsFunction · 0.45
setUpMethod · 0.45
start_sidecar_serverFunction · 0.45

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.36