1MONGOC_CLIENT_POOL_TRY_POP(3)      libmongoc     MONGOC_CLIENT_POOL_TRY_POP(3)
2
3
4

NAME

6       mongoc_client_pool_try_pop - mongoc_client_pool_try_pop()
7

SYNOPSIS

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

PARAMETERS

17pool: A mongoc_client_pool_t.
18

RETURNS

20       A mongoc_client_t if one is immediately available, otherwise NULL.
21

THREAD SAFETY

23       This function is safe to call from multiple threads.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.21.1                           Mar 02, 2022    MONGOC_CLIENT_POOL_TRY_POP(3)
Impressum