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

Function MakePool

library/cpp/threading/future/future_mt_ut.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 };
49
50 THolder<TThreadPool> MakePool() {
51 auto pool = MakeHolder<TThreadPool>(TThreadPool::TParams{}.SetBlocking(false).SetCatching(false));
52 pool->Start(8);
53 return pool;
54 }
55
56 template <class T>
57 TVector<TFuture<T>> ToFutures(const TVector<TPromise<T>>& promises) {

Callers 1

RunWaitTestFunction · 0.85

Calls 1

StartMethod · 0.45

Tested by

no test coverage detected