23 #ifndef _RESOURCE_SHARED_POOL_HPP_ 24 #define _RESOURCE_SHARED_POOL_HPP_ 66 std::unique_lock<std::mutex> ulock (
m_mutex);
79 std::unique_lock<std::mutex> ulock (
m_mutex);
108 #endif // _RESOURCE_SHARED_POOL_HPP_
void populate_free_stack()
resource_shared_pool(T *resources, size_t size, bool allow_claimed_on_destruction=false)
bool m_allow_claimed_on_destruction
resource_shared_pool(size_t size, bool allow_claimed_on_destruction=false)