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

[netCDF #OVV-995453]: netcdf c library run in dotnet multi-thread

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #OVV-995453]: netcdf c library run in dotnet multi-thread
  • Date: Mon, 22 May 2017 13:03:31 -0600

At the moment, the netcdf-c library/dll is NOT
thread-safe at all. This is because it has internal
global state that might be modified by every thread.

A thread-safe version is under development, but will
not be ready for a couple of months. But note that
we will achieve thread-safe operation by using a global
lock so that all accesses to the library API are serialized.
This will mean that one can have multiple threads operating on
different files: read or write. But the IO will not be
parallelized.
=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: OVV-995453
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.