From: cp98ak@cosc.brocku.ca (Chris)
Subject: Understanding Rendezvous
Date: 22 Feb 2003 19:42:38 -0800
Date: 2003-02-23T03:42:38+00:00 [thread overview]
Message-ID: <a5589416.0302221942.5c0034e5@posting.google.com> (raw)
Hello,
I am trying to get a grip on how to do different things with Ada,
using rendezvous. What I desire is a selective accept that will have a
condition of something like "if this accept is waiting, processes it"
and the alternate portion of the select will be OTHER code, just
general code that does whatever (no accepts). I tried it with a
'delay' but did not get the proper results.
I.E.:
loop
select
when Accept_Ready =>
accept Data (...,...) do
...
end Data;
or
print_this_compute_that();
end select;
end loop;
I just need to be pointed in the right direction.
TIA,
Chris.
next reply other threads:[~2003-02-23 3:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-23 3:42 Chris [this message]
2003-02-23 3:48 ` Understanding Rendezvous James S. Rogers
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox