mongoc_client_pool_try_pop
mongoc_client_pool_try_pop()
- Provided by: libmongoc-doc (Version: 1.9.2+dfsg-1build1)
- Source: libmongoc
- Report a bug
mongoc_client_pool_try_pop()
mongoc_client_t * mongoc_client_pool_try_pop (mongoc_client_pool_t *pool);
This function is identical to mongoc_client_pool_pop() except it will return NULL instead of blocking for a client to become available.
A mongoc_client_t if one is immediately available, otherwise NULL.
This function is safe to call from multiple threads.
MongoDB, Inc
2018, MongoDB, Inc