Scroll to navigation

MONGOC_CLIENT_POOL_DESTROY(3) MongoDB C Driver MONGOC_CLIENT_POOL_DESTROY(3)

NAME

mongoc_client_pool_destroy - mongoc_client_pool_destroy()

SYNOPSIS

void
mongoc_client_pool_destroy (mongoc_client_pool_t *pool);


Release all resources associated with pool, including freeing the structure.

This method is NOT thread safe, and must only be called by one thread. It should be called once the application is shutting down, and after all other threads that use clients have been joined.

PARAMETERS

pool: A mongoc_client_pool_t.

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc
February 23, 2019 1.14.0