From: esther@verdix.com (Esther Lumsdon)
Subject: Re: Does UNIX do async i/o?
Date: Wed, 16 Mar 1994 23:16:20 GMT [thread overview]
Message-ID: <esther.763859780@sarge> (raw)
References: <1994Feb26.204059.4068@mixcom.mixcom.com> <ROCKWELL.94Mar10070553@nova.umd.edu> <11MAR199400234346@hearts.aces.com> <1994Mar11.144337.13745@inmos.co.uk>,<1994Mar11.190110.20289@integrity.uucp> <2lqrtk$99p@gap.cco.caltech.edu>
carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes:
>In article <1994Mar11.190110.20289@integrity.uucp>, jcrowe@zaphodmpd.tandem.com (Joseph Crowe) writes:
>= I agree that most UNIX versions at this point do not provide async i/o
>=capabilities at the user level. My question is....so what? Why should the
>=user concern h(er|im)self with the intricacies of scatter/gather i/o at
>=the API level when it automatically gets handled in a hopefully optimal
>=way on h(er|is) behalf by the kernel and device drivers. Or am I missing
>=something.
>You're missing the fact that doing async I/O on most Unix systems is simply
>impossible. Sure, you could spawn a subprocess for each I/O request you want
>to make, have each subprocess issue a synchronous I/O request, then signal the
>parent when it completed. Seems like a fair amount of additional overhead to
>do something that could be incorporated in the system I/O routines.
Spawn a subprocess? no! Use Ada tasking to do your asynchronous I/O
for unix. From the Verdix Ada support BBS:
Asynchronous IO package example
Many customers have indicated that they would like to be able to use IO
in multiple tasks without having the program suspend. This is possible
on Unix by either polling, or using the Unix async features. This package
is an example of using these async features to communicate through
sockets in multi-tasking programs. It includes a fairly complete binding
to most of the unix calls associated with sockets, as well as a library
of higher-level communication routines built on the binding. It also
includes a crude example program to demonstrate the functionality.
Anything on the Verdix support BBS is free.
--
-- Esther Lumsdon, not a tech support engineer, and not speaking for Verdix.
esther@verdix.com I wanna be where the sky is Carolina blue!
next reply other threads:[~1994-03-16 23:16 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-03-16 23:16 Esther Lumsdon [this message]
-- strict thread matches above, loose matches on Subject: below --
1994-02-26 20:40 Is VMS Dying? Craig Dedo
1994-03-10 12:05 ` Raul Deluth Miller
1994-03-11 7:23 ` Ehud Gavron
1994-03-11 14:43 ` Hugh McIntyre
1994-03-11 19:01 ` Does UNIX do async i/o? Joseph Crowe
1994-03-11 22:38 ` Carl J Lydick
1994-03-12 4:03 ` Mark A Harrison
1994-03-12 4:32 ` Carl J Lydick
1994-03-12 13:30 ` Raul Deluth Miller
1994-03-12 16:59 ` Carl J Lydick
1994-03-13 12:00 ` Mark A Harrison
1994-03-12 20:24 ` Bryan J Jensen
1994-03-12 20:44 ` John Hascall
1994-03-13 12:22 ` Mark A Harrison
1994-03-14 21:11 ` Karl Strickland
1994-03-15 16:42 ` David L. Cathey
1994-03-17 0:44 ` Raul Deluth Miller
[not found] ` <bellamy-180394120752@test1.commerce.uq.oz.au>
1994-03-18 19:35 ` David L. Cathey
1994-03-13 11:22 ` Casper H.S. Dik
1994-03-13 11:45 ` Mark A Harrison
1994-03-13 18:34 ` David L. Cathey
1994-03-15 12:04 ` Anders Rolff
1994-03-16 4:58 ` David L. Cathey
1994-03-17 18:46 ` Larry Mulcahy
1994-03-14 7:39 ` gleason
1994-03-12 16:34 ` Chris Kalisiak
1994-03-13 11:50 ` Mark A Harrison
1994-03-13 17:57 ` David L. Cathey
1994-03-15 22:14 ` Mark A Harrison
1994-03-12 3:28 ` David L. Cathey
1994-03-14 18:39 ` Joseph Crowe
1994-03-14 22:05 ` Carl J Lydick
1994-03-12 23:48 ` gezelter
1994-03-14 19:40 ` Brad Daniels
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox