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

Function runNetworkThread

fdbclient/MultiVersionTransaction.actor.cpp:2595–2608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2593}
2594
2595THREAD_FUNC_RETURN runNetworkThread(void* param) {
2596 try {
2597 ((ClientInfo*)param)->api->runNetwork();
2598 } catch (Error& e) {
2599 TraceEvent(SevError, "ExternalRunNetworkError").error(e);
2600 } catch (std::exception& e) {
2601 TraceEvent(SevError, "ExternalRunNetworkError").error(unknown_error()).detail("RootException", e.what());
2602 } catch (...) {
2603 TraceEvent(SevError, "ExternalRunNetworkError").error(unknown_error());
2604 }
2605
2606 TraceEvent("ExternalNetworkThreadTerminating");
2607 THREAD_RETURN;
2608}
2609
2610void MultiVersionApi::runNetwork() {
2611 lock.enter();

Callers

nothing calls this directly

Calls 5

TraceEventClass · 0.85
detailMethod · 0.80
runNetworkMethod · 0.45
errorMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected