MCPcopy Create free account
hub / github.com/catboost/catboost / Wait

Method Wait

library/cpp/dns/thread.cpp:23–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 inline TNetworkAddressPtr Wait() {
24 E.Wait();
25
26 if (!Error) {
27 if (!Result) {
28 ythrow TNetworkResolutionError(EAI_AGAIN) << TStringBuf(": resolver down");
29 }
30
31 return Result;
32 }
33
34 Error->Raise();
35
36 ythrow TNetworkResolutionError(EAI_FAIL) << TStringBuf(": shit happen");
37 }
38
39 inline void Resolve() noexcept {
40 try {

Callers 2

ResolveMethod · 0.45
DoExecuteMethod · 0.45

Calls 1

RaiseMethod · 0.45

Tested by

no test coverage detected