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

Re: netcdf ncsync()



> Harvey was telling me some of this in IITA discussions.  Sounds very
> exciting.  Does process-level concurrency imply thread-safe?  I've heard
> one wish here in ATD that the netcdf library be MT-safe.
>

By "process level concurrency", I mean that it safe for multiple processes
to access it concurently, not multiple threads.

This is the goal for 3.0. The reason for this and not "MT-safe" is basically
that there currently are _portable_ primitives serializing access to file
structures between cooperating processes: fcntl() locking is in the POSIX
spec and is widely implemented.

The current situation with regards to threads is much bleaker.
There is a draft POSIX spec implemented on DEC OSF/1 and several other
incompatible interfaces on various operating systems. EG, it's
not ready for prime time. Since we are by no means experts in this area, we
are basically hanging out waiting until we have a consistant interface to
use.