1MONGOC_CLIENT_POOL_DESTROY(3)      libmongoc     MONGOC_CLIENT_POOL_DESTROY(3)
2
3
4

SYNOPSIS

6          void
7          mongoc_client_pool_destroy (mongoc_client_pool_t *pool);
8
9       Release  all  resources  associated  with  pool,  including freeing the
10       structure.
11
12       All mongoc_client_t objects obtained from mongoc_client_pool_pop() from
13       pool  must  be pushed back onto the pool with mongoc_client_pool_push()
14       prior to calling mongoc_client_pool_destroy().
15
16       This method is NOT thread safe, and must only be called by one  thread.
17       It  should  be  called once the application is shutting down, and after
18       all other threads that use clients have been joined.
19

PARAMETERS

21pool: A mongoc_client_pool_t.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.25.1                           Nov 08, 2023    MONGOC_CLIENT_POOL_DESTROY(3)
Impressum