comp.lang.ada
 help / color / mirror / Atom feed
From: John Slavich <jslavich@info.polymtl.ca>
Subject: Interrupt "Get"
Date: 1998/05/20
Date: 1998-05-20T00:00:00+00:00	[thread overview]
Message-ID: <356368C8.6EDF@info.polymtl.ca> (raw)


Hello Again,

	Being a novice, I'm trying to find an easy way of interrupting a get
command.  Let's say that I have two tasks and Task_1 has the first
rendez-vous ans has a "get":
---
accept get_num(num: in out Integer) do
	put("Type a number");
	get(num);
---

Task_2 has to wait until the user enters a number.  In essence
everything is frozen until the number is entered.  Is there a way that I
can still wait for the user's answer and allow task_2 to go ahead?

Thanks for your time.

JOhn




             reply	other threads:[~1998-05-20  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-20  0:00 John Slavich [this message]
1998-05-21  0:00 ` Interrupt "Get" Robert Dewar
1998-05-21  0:00   ` John Slavich
1998-05-21  0:00   ` Robert Dewar
     [not found] ` <%1N81.460$ja.2197141@newsread.com>
1998-05-21  0:00   ` Robert Dewar
1998-05-22  0:00     ` Michael F Brenner
  -- strict thread matches above, loose matches on Subject: below --
1998-05-28  0:00 Joseph Altea
replies disabled

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