Further mempool-polishing:
Drop the mtx arg to MPL_New(), it wouldn't help. Store the pool name locally. Fix wrong type on some stats counters. Copy gauge counters from reliable values. Add stats-counter for dry pool allocations. Add MPL_Destroy() which tickles the guard thread into self-destroying the pool. Only allowed if no live objects.
Showing
Please register or sign in to comment