Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Terminology confusion: buffered vs asynchronous

I recently posted an "answer" to a question about netcdf and
"asynchronous" io.  I took "asynchronous" to mean that the system
calls for io are not synchronous with the netcdf calls, eg, that
they are "buffered".

It could be that question referred to another class of asynchronous io,
such as is available via the "aioread()","aiowrite()", and "aiowait()"
library calls on some system, and as available in some FORTRAN systems
via the BUFFERIN or BUFFEROUT statements. These allow computation to
continue concurrently with io. Netcdf does not use these facilities.
A netcdf-3 ncio layer could be written to use these, modulo two
problems:
  1) synchronization primitives to guarantee serialization of io operations.
  2) some method of dealing with any asynchronous io errors

-glenn

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690