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

Method TIBMemPool

library/cpp/netliba/v6/ib_mem.cpp:44–53  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

42
43 //////////////////////////////////////////////////////////////////////////
44 TIBMemPool::TIBMemPool(TPtrArg<TIBContext> ctx)
45 : IBCtx(ctx)
46 , AllocCacheSize(0)
47 , CurrentOffset(IB_MEM_LARGE_BLOCK)
48 , WorkThread(TThread::TParams(ThreadFunc, (void*)this).SetName("nl6_ib_mem_pool"))
49 , KeepRunning(true)
50 {
51 WorkThread.Start();
52 HasStarted.Wait();
53 }
54
55 TIBMemPool::~TIBMemPool() {
56 Y_ASSERT(WorkThread.Running());

Callers

nothing calls this directly

Calls 4

TParamsClass · 0.50
SetNameMethod · 0.45
StartMethod · 0.45
WaitMethod · 0.45

Tested by

no test coverage detected