H5Pset_file_locking

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

Sets the file locking settings.

Parameters

fapl_idFile access property list identifier
use_file_lockingFile locking flag
ignore_when_disabledIgnore when disabled flag

Returns

Non-negative on success, negative on failure.