1MONGOC_CLIENT_POOL_POP(3)      MongoDB C Driver      MONGOC_CLIENT_POOL_POP(3)
2
3
4

NAME

6       mongoc_client_pool_pop - mongoc_client_pool_pop()
7

SYNOPSIS

9          mongoc_client_t *
10          mongoc_client_pool_pop (mongoc_client_pool_t *pool);
11
12       Retrieve  a  mongoc_client_t  from  the client pool, or create one. The
13       total number of clients that can be created from this pool  is  limited
14       by the URI option "maxPoolSize", default 100. If this number of clients
15       has been created and all  are  in  use,  mongoc_client_pool_pop  blocks
16       until another thread returns a client with mongoc_client_pool_push.
17

PARAMETERS

19       ยท pool: A mongoc_client_pool_t.
20

RETURNS

22       A mongoc_client_t.
23

THREAD SAFETY

25       This function is safe to call from multiple threads.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.13.1                           Jan 24, 2019        MONGOC_CLIENT_POOL_POP(3)
Impressum