• Poul-Henning Kamp's avatar
    Further mempool-polishing: · 159c511d
    Poul-Henning Kamp authored
    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.
    159c511d
cache_backend.c 12.8 KB