[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 960116: netcdf 2.4b6 thread safe?



>From: address@hidden (Charlie Martin)
>Organization: NCAR/ATD
>Keywords: 199601170043.AA27128 netCDF thread

Hi Charlie,

> I'm currently running netcdf v2.4beta6. Due
> to strange crashes, I wonder if it is thread
> safe? Sure would be nice if it were! :>)

It's definitely not thread-safe, because the underlying I/O is not
thread-safe, and there is no locking/unlocking of data structures that would
be shared by concurrent threads.

> BTW, this is on Solaris 2.4 for X86. I've tested
> non-threaded netcdf C++ code - works great so far.
> You have really improved the C++ interface.

Thanks, Dan Schmitt is responsible for some of the improvements.

______________________________________________________________________________

Russ Rew                                           UCAR Unidata Program
address@hidden                              http://www.unidata.ucar.edu