Function lmdb_master_sys::mdb_env_get_maxreaders

source ·
pub unsafe extern "C" fn mdb_env_get_maxreaders(
    env: *mut MDB_env,
    readers: *mut c_uint,
) -> c_int
Expand description

Get the maximum number of threads/reader slots for the environment.

§Arguments

  • env (direction in) - An environment handle returned by #mdb_env_create()
  • readers (direction out) - Address of an integer to store the number of readers

§Returns

A non-zero error value on failure and 0 on success. Some possible errors are:

  • EINVAL - an invalid parameter was specified.