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

Method ThreadProc

library/cpp/threading/skip_list/perf/main.cpp:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90 private:
91 void* ThreadProc() noexcept override {
92 TInstant started = TInstant::Now();
93 Func();
94 Time = TInstant::Now() - started;
95 return nullptr;
96 }
97 };
98
99 inline TAutoPtr<TWorkerThread> StartThread(std::function<void()> func) {

Callers

nothing calls this directly

Calls 2

NowFunction · 0.50
FuncFunction · 0.50

Tested by

no test coverage detected