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

Method ~TIBMemPool

library/cpp/netliba/v6/ib_mem.cpp:55–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 TIBMemPool::~TIBMemPool() {
56 Y_ASSERT(WorkThread.Running());
57 KeepRunning = false;
58 HasWork.Signal();
59 WorkThread.Join();
60 {
61 TJobItem* work = nullptr;
62 while (Requests.Dequeue(&work)) {
63 delete work;
64 }
65 }
66 }
67
68 TIntrusivePtr<TIBMemSuperBlock> TIBMemPool::AllocSuper(size_t szArg) {
69 // assume CacheLock is taken

Callers

nothing calls this directly

Calls 4

RunningMethod · 0.45
SignalMethod · 0.45
JoinMethod · 0.45
DequeueMethod · 0.45

Tested by

no test coverage detected