mdb_env_get_maxreaders function
@brief Get the maximum number of threads/reader slots for the environment.
@paramin
env An environment handle returned by #mdb_env_create()
@paramout
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.
Implementation
@ffi.FfiNative<
ffi.Int Function(ffi.Pointer<MDB_env>,
ffi.Pointer<ffi.UnsignedInt>)>('mdb_env_get_maxreaders')
external int mdb_env_get_maxreaders(
ffi.Pointer<MDB_env> env,
ffi.Pointer<ffi.UnsignedInt> readers,
);