MCPcopy Create free account
hub / github.com/comaps/comaps / Return

Method Return

libs/drape/object_pool.hpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 void Return(T * object)
74 {
75 std::lock_guard<std::mutex> lock(m_lock);
76 m_pool.push_back(object);
77 }
78
79private:
80#if defined(DEBUG) || defined(LOG_OBJECT_POOL)

Callers 4

UNIT_TESTFunction · 0.80
~BatchersPoolMethod · 0.80
ReleaseBatcherMethod · 0.80
OnTaskFinishedMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.64