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, possibly blocking until one is available.

Parameters

Returns

A mongoc_client_t.

Thread Safety

This function is safe to call from multiple threads.