Where can I find the difference between purge_memory
and release_memory
in Boost Singleton Pool? In here it says:
Singleton Usage is the method where each Pool is an object with static duration; that is, it will not be destroyed until program exit. Pool objects with Singleton Usage may be shared; thus, Singleton Usage implies thread-safety as well. System memory allocated by Pool objects with Singleton Usage may be freed through
release_memory
orpurge_memory
.