MCPcopy Create free account
hub / github.com/bloomberg/quantum / Control

Class Control

quantum/quantum_contiguous_pool_manager.h:121–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120 //------------------------------- Members ----------------------------------
121 struct Control {
122 ~Control() {
123 delete[] _freeBlocks;
124 }
125 index_type _size{0};
126 aligned_type* _buffer{nullptr}; //non-owning
127 index_type* _freeBlocks{nullptr};
128 ssize_t _freeBlockIndex{-1};
129 size_t _numHeapAllocatedBlocks{0};
130 mutable SpinLock _spinlock;
131 };
132 std::shared_ptr<Control> _control;
133};
134

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected