mdbx: добавление mdbx_env_resurrect_after_fork() в API.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2023-11-11 20:08:04 +03:00
parent a22ec56938
commit af4dfe541b
2 changed files with 78 additions and 36 deletions

5
mdbx.h
View File

@@ -2895,6 +2895,11 @@ LIBMDBX_INLINE_API(int, mdbx_env_close, (MDBX_env * env)) {
return mdbx_env_close_ex(env, false);
}
#if !(defined(_WIN32) || defined(_WIN64))
/** FIXME */
LIBMDBX_API int mdbx_env_resurrect_after_fork(MDBX_env *env);
#endif /* Windows */
/** \brief Warming up options
* \ingroup c_settings
* \anchor warmup_flags