cp_dbms

Section: cp_dbms (3)
Updated: MARCH 2006
Index Return to Main Contents
 

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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:48:28 GMT, April 10, 2006
SourceForge.net Logo