Static libnetcdf_lock

Source
pub static libnetcdf_lock: ReentrantMutex<RawMutex, RawThreadId, ()>
Expand description

Global netCDF lock for using all functions in the netCDF library

Per the NetCDF FAQ: “THE C-BASED LIBRARIES ARE NOT THREAD-SAFE” This lock is the same as the one in hdf5, so the two libraries can be used at the same time Lock which can be used to serialise access to the hdf5 library