#include <ShoreApp.h> shrc REF(Pool)::new_persistent( const char *path, mode_t mode, REF(T) &returned_ref); shrc REF(Pool)::destroy_contents(); shrc Shore::pool(const char *path);
Creating a pool is like creating an object of any other type, except that you cannot create an anonymous pool.
To destroy a pool, you must first destroy all the objects in the pool with destroy_contents. An empty pool can be removed with Shore::unlink.