From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,77a30ff64a5db4c5,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-22 19:42:38 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: cp98ak@cosc.brocku.ca (Chris) Newsgroups: comp.lang.ada Subject: Understanding Rendezvous Date: 22 Feb 2003 19:42:38 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 139.57.232.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1045971758 664 127.0.0.1 (23 Feb 2003 03:42:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 Feb 2003 03:42:38 GMT Xref: archiver1.google.com comp.lang.ada:34454 Date: 2003-02-23T03:42:38+00:00 List-Id: 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.