comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen, LJK Software)
Subject: Re: Unbuffered keyboard input on VAX ADA?
Date: 10 Feb 95 07:35:38 -0500
Date: 1995-02-10T07:35:38-05:00	[thread overview]
Message-ID: <1995Feb10.073538.9088@eisner> (raw)
In-Reply-To: EMERY.95Feb3123217@goldfinger.mitre.org

In article <EMERY.95Feb3123217@goldfinger.mitre.org>, emery@goldfinger.mitre.org (David Emery) writes:

> This example indicates why, in my opinion, such "thin bindings" are A
> Bad Thing.  

I presume you refer to the fact that there are two status codes to be
checked (actually the TASKING_* bindings cited by one user are not all
that thin, being developed specifically for Ada tasking support).

Regardless of possible rearrangement of the parameters, asynchronous
IO will always require two status checks on VMS (or any other OS, so
far as I can see), one for when the request is queued and one for when
it is completed.  If the request does not get queued, the event which
indicates completion (AST for VMS) will never happen.

Of course an exception could be raised in place of one of the failure
returns if it was extremely unlikely, but that probability cannot
be predicted by the designer of bindings.  While the class problem
which started this presumed there was a single keyboard, in a real
situation there could be a score of keyboards, some potentially in
use by other jobs on the computer system at the time when I/O is
requested.



  parent reply	other threads:[~1995-02-10 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-02  0:40 Unbuffered keyboard input on VAX ADA? Jake E. Hamby
     [not found] ` <1995Feb3.103003.9017@eisner>
     [not found]   ` <EMERY.95Feb3123217@goldfinger.mitre.org>
1995-02-10 12:35     ` Larry Kilgallen, LJK Software [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-01-27  7:05 Jake E. Hamby
replies disabled

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