mongoc_client_pool_try_pop man page

mongoc_client_pool_try_pop() — None

Synopsis

mongoc_client_t *
mongoc_client_pool_try_pop (mongoc_client_pool_t *pool);

This function is identical to mongoc_client_pool_pop(3) except it will return NULL instead of blocking for a client to become available.

Parameters

pool
A mongoc_client_pool_t

Returns

A mongoc_client_t if one is immediately available, otherwise NULL

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

mongoc_client_pool_set_ssl_opts(3).

2016‐10‐19 MongoDB C Driver