Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
MONGOC_CLIENT_POOL_TRY_POP(3)	    libmongoc	   MONGOC_CLIENT_POOL_TRY_POP(3)

SYNOPSIS
	mongoc_client_t *
	mongoc_client_pool_try_pop (mongoc_client_pool_t *pool);

     This  function  is identical to mongoc_client_pool_pop() except it will re-
     turn NULL instead of blocking for a client to become available.

     NOTE:
	Return	 a   checked   out   mongoc_client_t   to    the    pool    with
	mongoc_client_pool_push()  quickly  to	encourage reuse of clients among
	threads.

PARAMETERS
     * pool: A mongoc_client_pool_t.

RETURNS
     A mongoc_client_t if one is immediately available, otherwise NULL.

THREAD SAFETY
     This function is safe to call from multiple threads.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026	   MONGOC_CLIENT_POOL_TRY_POP(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_pool_try_pop&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help