POOL(OC)

Shore Programmer's Manual - 18 September 95

NAME

pool \- create or remove a pool

SYNOPSIS

#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);

DESCRIPTION

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.

SEE ALSO

ref(cxxlb) , create(cxxlb) . and unlink(oc) .