From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Ada Tasks and Keyboard I/O
Date: 1997/06/14
Date: 1997-06-14T00:00:00+00:00 [thread overview]
Message-ID: <dewar.866303995@merv> (raw)
In-Reply-To: 33A12825.1C80@onlink.net
David says
<<This "sounds" easy enough to do using tasks; however, once the program
reaches the Get(My_Number) statement all other tasks come to a grinding
halt waiting for this keyboard I/O to occur <grr>.
Any ideas how I can accomplish the requirement in para 1 ? I am using
Meridian OpenAda Dos ver 4.1.4, an ADA 83 compiler.
Thank you very much in advance.
>>
The easiest way to accomplish this is to switch to an Ada compiler that
handles this situation properly. What you need is a compiler that follows
the implementation advice concerning Get_Immediate. I am talking about
an Ada 95 compiler of course here.
Alternatively you can interface to an appropriate OS routine to do the
input instead of using Get.
next prev parent reply other threads:[~1997-06-14 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-13 0:00 Ada Tasks and Keyboard I/O David H. Haley
1997-06-14 0:00 ` Robert Dewar [this message]
1997-06-14 0:00 ` Dale Stanbrough
1997-06-14 0:00 ` John Herro
1997-06-14 0:00 ` Larry Kilgallen
1997-06-14 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox