1MONGOC_CLIENT_POOL_TRY_POP(3) libmongoc MONGOC_CLIENT_POOL_TRY_POP(3)
2
3
4
6 mongoc_client_t *
7 mongoc_client_pool_try_pop (mongoc_client_pool_t *pool)
8 BSON_GNUC_WARN_UNUSED_RESULT;
9
10 This function is identical to mongoc_client_pool_pop() except it will
11 return NULL instead of blocking for a client to become available.
12
14 • pool: A mongoc_client_pool_t.
15
17 A mongoc_client_t if one is immediately available, otherwise NULL.
18
20 This function is safe to call from multiple threads.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.25.1 Nov 08, 2023 MONGOC_CLIENT_POOL_TRY_POP(3)