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=unavailable autolearn_force=no version=3.4.4 Path: Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 21 Sep 2014 17:26:14 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Simp,e example for 2 tasks Date: Sun, 21 Sep 2014 18:26:14 -0400 Organization: IISS Elusive Unicorn Message-ID: References: <9b22dd09-6137-4f4b-8be1-28255032df70@googlegroups.com> X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 76.249.20.227 X-Trace: sv3-D6X+ZcP8Lx4eaYaVibjNTWEp0YKfMAbsUVDnGccQAeijH2PatfA9sYwdO5phBCxKT7Q4Ew0ZLZvQyK8!HCRPCnF1W8ykb6gSUR0qNGs5XjUG+A/S/iRlA4YeY7l5aITUFRaon5XH9hIUz57x5WBXGeiGd1Ah!7+PvfTPaYbOLIs6sUobpFLXzyaM= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2248 Xref: number.nntp.dca.giganews.com comp.lang.ada:189076 Date: 2014-09-21T18:26:14-04:00 List-Id: On Sun, 21 Sep 2014 09:03:39 -0700 (PDT), Stribor40 declaimed the following: > > >can I be greedy and ask you can make actuall code that will compile so i can play with it please. You can be greedy -- nothing I can do about that. You can ask... But given that the described problem is so basic to the concepts of "communicating sequential processes", and "interprocess communication", it comes across as some sort of homework assignment... And homework assignments will not, normally, be answered with functional code. Read some Ada text books in the section discussing "rendezvous" (that IS the language used for Ada's IPC system -- and also for "protected objects" which I did not reference in my pseudo-code). When you can provide a code sample that is not working as expected, then you may ask for assistance with the code -- but for basic concepts you must do the studying... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/