MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / PoolLargeFree

Method PoolLargeFree

base/BlockMemoryPool.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void CBlockMemoryPool::PoolLargeFree(void* &m) {
31 std::unique_lock<std::mutex> lock(_large_mutex);
32 _free_mem_vec.push_back(m);
33}
34
35int CBlockMemoryPool::GetSize() {
36 std::unique_lock<std::mutex> lock(_large_mutex);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected