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

Method runNetwork

fdbclient/MultiVersionTransaction.actor.cpp:990–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

988}
989
990void DLApi::runNetwork() {
991 auto e = api->runNetwork();
992
993 for (auto& hook : threadCompletionHooks) {
994 try {
995 hook.first(hook.second);
996 } catch (Error& e) {
997 TraceEvent(SevError, "NetworkShutdownHookError").error(e);
998 } catch (std::exception& e) {
999 TraceEvent(SevError, "NetworkShutdownHookError").error(unknown_error()).detail("RootException", e.what());
1000 } catch (...) {
1001 TraceEvent(SevError, "NetworkShutdownHookError").error(unknown_error());
1002 }
1003 }
1004
1005 throwIfError(e);
1006}
1007
1008void DLApi::stopNetwork() {
1009 if (networkSetup) {

Callers 1

runNetworkThreadFunction · 0.45

Calls 15

TraceEventClass · 0.85
waitThreadFunction · 0.85
firstMethod · 0.80
detailMethod · 0.80
throwIfErrorFunction · 0.70
formatFunction · 0.50
errorMethod · 0.45
whatMethod · 0.45
enterMethod · 0.45
leaveMethod · 0.45
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected