1MONGOC_CLIENT_POOL_TRY_POP(3) libmongoc 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 BSON_GNUC_WARN_UNUSED_RESULT;
12
13 This function is identical to mongoc_client_pool_pop() except it will
14 return NULL instead of blocking for a client to become available.
15
17 • pool: A mongoc_client_pool_t.
18
20 A mongoc_client_t if one is immediately available, otherwise NULL.
21
23 This function is safe to call from multiple threads.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.24.3 Aug 17, 2023 MONGOC_CLIENT_POOL_TRY_POP(3)