comp.lang.ada
 help / color / mirror / Atom feed
From: <cwarwick@fox.nstn.ns.ca>
Subject: Re: Ada replacements for DOS I/O
Date: 31 Oct 1994 08:46:27 -0400
Date: 1994-10-31T08:46:27-04:00	[thread overview]
Message-ID: <45420.cwarwick@fox.nstn.ns.ca> (raw)

On 27 Oct 1994 19:04:50 -0400, 
Robert Dewar  <dewar@cs.nyu.edu> wrote:

>The failure to do concurrent I/O is certainly not a bug (nothing in the
>Ada standard requires, or even implies, that I/O done from one task is
>concurrent with the execution of other tasks).

No, but it does require a higher priority task take precedence over a 
lower. With the Alsys DOS product all task processing regardless of 
priority ceases. I think the nature of Ada tasking is such that I/O be at 
least interruptable when a higher priority task becomes ready to run.

>If you need concurrent I/O, put an operating system on your PC (many
>choices including OS/2, NT, Solaris, SCO Unix, Linux, BSD386, Lynx,
>Nextstep), and then shop for a compiler that definitely supports the
>concurrency that you need.

The most logical step is of course to write the IO functions we need in 
Ada (or find someone who already has, hence the start of this thread) and 
then the bug goes away, regardless of operating system...

>You burned yourself on this one by making a totally unwarranted assumption!

I don't think its unwarrwanted. Alsys provided use with all the OS tools we 
needed to implement this project, which included interrupt handling, 
multiple tasking, and IO to nonstandard cards. I don't think given all this 
it was unreasonable to assume they had thought about the interaction 
between tasks and DOS.
 --
 Lorne Elliot in a Conan the Barabarian suit, or
 "Beware the fool, for only the fool may speak the truth"

 Chris Warwick
 cwarwick@fox.nstn.ns.ca
 warwick@anchor.hfx.prior.ca



             reply	other threads:[~1994-10-31 12:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-31 12:46 cwarwick [this message]
  -- strict thread matches above, loose matches on Subject: below --
1994-11-03  3:15 Ada replacements for DOS I/O tmoran
1994-11-03 23:05 ` Robert Dewar
1994-10-31 19:31 tmoran
1994-10-29 22:01 tmoran
1994-10-27 11:25 Elgar the Idiot aka Chris Warwick
1994-10-27 23:04 ` Robert Dewar
1994-10-31 15:08   ` Mark Bayern
1994-11-03 11:23     ` Robert Dewar
1994-11-04  8:17       ` Samuel Tardieu
1994-11-06 21:03         ` Robert Dewar
1994-10-28 12:17 ` Ted Dennison
1994-10-31 13:21   ` Robert Dewar
1994-11-03  9:24     ` Robert I. Eachus
1994-11-05  5:37       ` Robert Dewar
1994-11-01 14:42   ` David Emery
1994-11-02 14:40     ` David Weller
1994-11-02 15:20   ` Robert I. Eachus
1994-11-03 13:01     ` Bevin R. Brett
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox