lmdb_sys

Function 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

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

@param[in] env An environment handle returned by #mdb_env_create() @param[out] readers Address of an integer to store the number of readers @return A non-zero error value on failure and 0 on success. Some possible errors are:

  • EINVAL - an invalid parameter was specified.