mdbx: split-out mdbx_is_file_local().

Change-Id: Ib7d990c4ce19d9b14a4b6739ca321d9d2666c882
This commit is contained in:
Leo Yuriev
2018-06-12 22:52:57 +03:00
parent fc41cd64d1
commit 28eda32c12
2 changed files with 33 additions and 18 deletions

View File

@@ -508,6 +508,7 @@ int mdbx_suspend_threads_before_remap(MDBX_env *env,
int mdbx_resume_threads_after_remap(mdbx_handle_array_t *array);
#endif /* Windows */
int mdbx_msync(mdbx_mmap_t *map, size_t offset, size_t length, int async);
int mdbx_is_file_local(mdbx_filehandle_t handle, int flags);
static __inline mdbx_pid_t mdbx_getpid(void) {
#if defined(_WIN32) || defined(_WIN64)