cp_db_connection_pool_shutdown(3)
| cp_dbms(3) | cp_dbms | cp_dbms(3) |
NAME
cp_db_connection_pool_shutdown - stop a connection pool
SYNOPSIS
#include <cprops/db.h>
int cp_db_connection_pool_shutdown(cp_db_connection_pool *pool);
DESCRIPTION
cp_db_connection_pool_shutdown closes all open connections in the connection pool pool. The pool itself is not deallocated. To deallocate the pool call cp_db_connection_pool_destroy.
If connections have been obtained from the pool and were not yet released with cp_db_connection_pool_release_connection, the shutdown process blocks until these connections are released.
RETURN VALUE
cp_db_connection_pool_shutdown always returns 0.
SEE ALSO
cp_db_connection_pool_destroy(3)
| MARCH 2006 | libcprops |
