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

Method ReleaseHandler

library/cpp/neh/http2.cpp:461–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459 void Finalize(THttpConn* skipConn = nullptr) noexcept;
460
461 inline THandleRef ReleaseHandler() noexcept {
462 THandleRef h;
463 {
464 TGuard<TSpinLock> g(SL_);
465 h.Swap(Hndl_);
466 }
467 return h;
468 }
469
470 inline THttpConnRef GetConn() noexcept {
471 TGuard<TSpinLock> g(SL_);

Callers

nothing calls this directly

Calls 1

SwapMethod · 0.45

Tested by

no test coverage detected