Provided by: libmongoc-doc_1.16.1-1build2_all bug

NAME

       mongoc_client_pool_pop - mongoc_client_pool_pop()

SYNOPSIS

          mongoc_client_t *
          mongoc_client_pool_pop (mongoc_client_pool_t *pool);

       Retrieve  a  mongoc_client_t from the client pool, or create one. The total number of clients that can be
       created from this pool is limited by the URI option "maxPoolSize", default 100. If this number of clients
       has been created and all are in use, mongoc_client_pool_pop blocks until another thread returns a  client
       with mongoc_client_pool_push.

PARAMETERS

pool: A mongoc_client_pool_t.

RETURNS

       A mongoc_client_t.

THREAD SAFETY

       This function is safe to call from multiple threads.

AUTHOR

       MongoDB, Inc

COPYRIGHT

       2017-present, MongoDB, Inc

1.16.1                                            Mar 03, 2020                         MONGOC_CLIENT_POOL_POP(3)