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

Method TestSystemPool

util/thread/factory_ut.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27private:
28 inline void TestSystemPool() {
29 TRunAble r;
30
31 {
32 THolder<IThreadFactory::IThread> thr = SystemThreadFactory()->Run(&r);
33
34 thr->Join();
35 }
36
37 UNIT_ASSERT_EQUAL(r.done, true);
38 }
39
40 inline void TestAdaptivePool() {
41 TRunAble r;

Callers

nothing calls this directly

Calls 3

SystemThreadFactoryFunction · 0.85
RunMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected