Merge branch 'oktonion-develop' into develop

This commit is contained in:
Ion Gaztañaga
2021-02-02 15:09:51 +01:00

View File

@@ -264,7 +264,8 @@ inline bool try_acquire_file_lock(file_handle_t hnd, bool &acquired)
acquired = false, true : false;
}
return (acquired = true);
acquired = true;
return true;
}
inline bool release_file_lock(file_handle_t hnd)
@@ -293,7 +294,9 @@ inline bool try_acquire_file_lock_sharable(file_handle_t hnd, bool &acquired)
return winapi::get_last_error() == winapi::error_lock_violation ?
acquired = false, true : false;
}
return (acquired = true);
acquired = true;
return true;
}
inline bool release_file_lock_sharable(file_handle_t hnd)