bdIsLocked_hdf5: Test whether an HDF5 file is locked (in use)
Description
Uses HDF5 file locking to check if filename can be opened in
read/write mode. If opening fails under locking, the file is treated
as "in use" and TRUE is returned. Non-existent files return
FALSE.
Usage
bdIsLocked_hdf5(filename)
Value
Logical scalar: TRUE if locked/in use, FALSE otherwise.
Arguments
filename
Character. Path to the HDF5 file.
Details
Requires HDF5 file locking (HDF5 >= 1.12 recommended). The
function sets HDF5_USE_FILE_LOCKING=TRUE for the process.