1MONGOC_CLIENT_POOL_TRY_POP(3) MongoDB C Driver MONGOC_CLIENT_POOL_TRY_POP(3)
2
3
4
6 mongoc_client_pool_try_pop - mongoc_client_pool_try_pop()
7
9 mongoc_client_t *
10 mongoc_client_pool_try_pop (mongoc_client_pool_t *pool);
11
12 This function is identical to mongoc_client_pool_pop() except it will
13 return NULL instead of blocking for a client to become available.
14
16 ยท pool: A mongoc_client_pool_t.
17
19 A mongoc_client_t if one is immediately available, otherwise NULL.
20
22 This function is safe to call from multiple threads.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.13.1 Jan 24, 2019 MONGOC_CLIENT_POOL_TRY_POP(3)