cp_dbms

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

NAME

cp_db_connection_pool_set_blocking - set a connection pool's behavior when a connection is requested and none are available

 

SYNOPSIS

#include <cprops/db.h>

void cp_db_connection_pool_set_blocking(cp_db_connection_pool *pool,
                                         int block);  

DESCRIPTION

cp_db_connection_pool_set_blocking sets the block flag on a connection pool to the specified value. If this is non-zero, no connections are available and the connection pool has reached its maximal size, cp_db_connection_pool_get_connection will block until a connection becomes available.

The block flag is not set by default.  

SEE ALSO

cp_db_connection_pool_shutdown(3), cp_db_connection_pool_get_connection(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

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