comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: may i be more explicit?
Date: Tue, 12 Mar 2002 01:50:39 GMT
Date: 2002-03-12T01:50:39+00:00	[thread overview]
Message-ID: <P9dj8.9227$Up.1836601452@newssvr14.news.prodigy.com> (raw)
In-Reply-To: a6jjs7$1sg$1@wanadoo.fr

You want Ada tasking, in particular the "selective accept".

select
  accept Ar_is_done;
    Put("Ar finished");
or delay 10.0;
    Put("Timed out");
end select;
Put("either AR finished or we timed out");



  reply	other threads:[~2002-03-12  1:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12  0:32 Timeout or agreement Meresup
2002-03-12  0:58 ` may i be more explicit? Meresup
2002-03-12  1:50   ` tmoran [this message]
2002-03-12  1:38 ` Timeout or agreement Patrick Hohmeyer
2002-03-12 17:18 ` Meresup
replies disabled

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