HDF5 on Windows is not thread-safe
mmomtchev opened this issue · 0 comments
mmomtchev commented
The locking mechanism used by hdf5 on Windows is available only when running in a DLL which is not the case for Node.js addons.
The GDAL NetCDF driver implements its own locking so it is not affected.
When using raw HDF5 files on Windows, it is up to the user to ensure that his application never makes multiple simultaneous calls to the HDF5 library, or random crashes are possible.
There is no simple solution to this.