Commit 63bc8da9 authored by Tom Barbette's avatar Tom Barbette

allocator.hh: Use the getter

Make CLANG happy
parent a80439c7
Pipeline #1805 passed with stage
in 11 minutes and 44 seconds
......@@ -144,10 +144,10 @@ class pool_allocator_mt : pool_allocator_mt_base { public:
++p.count;
if (unlikely(p.count == POOL_SIZE + 1)) {
_global_lock.acquire();
if (_global_count == POOL_COUNT-1 || _dying) {
if (_global_count == POOL_COUNT-1 || dying()) {
_global_lock.release();
CLICK_LFREE(e,sizeof(T));
if (!_dying) {
if (!dying()) {
#if CLICK_DEBUG_ALLOCATOR
click_chatter("Global pool is full, freeing item");
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment