Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
MONGOC_CLIENT_POOL_DESTROY(3)	    libmongoc	   MONGOC_CLIENT_POOL_DESTROY(3)

SYNOPSIS
	void
	mongoc_client_pool_destroy (mongoc_client_pool_t *pool);

     Release  all  resources  associated with pool, including freeing the struc-
     ture.

     All mongoc_client_t objects  obtained  from  mongoc_client_pool_pop()  from
     pool must be pushed back onto the pool with mongoc_client_pool_push() prior
     to calling mongoc_client_pool_destroy().

     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
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026	   MONGOC_CLIENT_POOL_DESTROY(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_pool_destroy&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help