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

NAME

6       mongoc_client_pool_destroy - mongoc_client_pool_destroy()
7

SYNOPSIS

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

PARAMETERS

24pool: A mongoc_client_pool_t.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.24.3                           Aug 17, 2023    MONGOC_CLIENT_POOL_DESTROY(3)
Impressum