cp_db_connection_pool_set_blocking(3) - Linux man page
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)