Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5P_SET_FILE_LOCKING

Sets the file locking property values

Procedure:

H5P_SET_FILE_LOCKING ( fapl_id, use_file_locking, ignore_when_disabled )

Signature:

herr_t H5Pset_file_locking(hid_t fapl_id, hbool_t use_file_locking, hbool_t ignore_when_disabled)

Replace this text with the Fortran function signature

Parameters:
hid_t fapl_idIN: File access property list identifier
hbool_t use_file_lockingIN: Toggle to specify file locking (or not)
hbool_t ignore_when_disabledIN: Toggle to ignore when disabled (or not)

Description:

H5P_SET_FILE_LOCKING overrides the default file locking flag setting that was set when the library was configured.

This setting can be overridden by the HDF5_USE_FILE_LOCKING environment variable.

File locking is used when creating/opening a file to prevent problematic file accesses.

Returns:

SUCCEED/FAIL

History:
ReleaseChange
1.10.7Function introduced in this release.

--- Last Modified: October 08, 2020 | 12:47 PM