From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-10 13:11:51 PST Xref: gmd.de comp.org.decus:2862 comp.os.vms:42053 comp.sys.dec:14139 comp.unix.advocacy:1005 Path: gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!newsxfer.itd.umich.edu!sol.ctr.columbia.edu!howland.reston.ans.net!math.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!acd.ucar.edu!pack From: pack@acd.ucar.edu (Daniel Packman) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Asynchronous io is available under VMS and unix Date: 10 Mar 1994 21:11:51 GMT Organization: Ntl Center for Atmospheric Research - Atmospheric Chemistry Div Message-ID: <2lo2en$jnt@ncar.ucar.edu> References: <1994Feb28.140951.24948@mc <2lnhda$kc@charm.magnus.acs.ohio-state.edu> NNTP-Posting-Host: acd.ucar.edu In article <2lnhda$kc@charm.magnus.acs.ohio-state.edu> JONESD@kcgl1.eng.ohio-state.edu (David Jones) writes: ... >>I can do asynchronous I/O under Unix. > >I strongly doubt it. You can fork a separate process to perform the >I/O or do Non-blocking I/O but in neither case are you really doing >asynchronous I/O.... There are several brands of unix that support true asynchronous io. For example, ibm's AIX uses a separate asynchronous device, /dev/aio0 and calls specific to it. These calls include: aio_cancel Cancels one or more asynchronous I/O requests. aio_error Retrieves the error status of an I/O request. aio_read Reads asynchronously from a file. aio_return Retrieves the return value of an I/O request. aio_write Writes asynchronously to a file. aio_suspend Blocks until an asynchronous I/O is completed. lio_listio Initiates multiple asynchronous read and write operations. You are certainly correct that asynchronous io was not present in older versions of unix, but that is certainly not the case now. -- Dan Packman NCAR INTERNET: pack@ncar.UCAR.EDU (303) 497-1427 P.O. Box 3000 Boulder, CO 80307-3000 NSI/DECNET: 9583::PACK