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=-0.5 required=5.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a5ba2421fbe2fea3,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!not-for-mail From: evangeli@cnam.fr (Evangelista Sami) Newsgroups: comp.lang.ada Subject: task synchronization and returns in accept Date: 8 Feb 2005 07:36:11 -0800 Organization: http://groups.google.com Message-ID: <5f59677c.0502080736.64ead69f@posting.google.com> NNTP-Posting-Host: 82.123.91.133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1107876971 28544 127.0.0.1 (8 Feb 2005 15:36:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 8 Feb 2005 15:36:11 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:8190 Date: 2005-02-08T07:36:11-08:00 List-Id: Hello all Let's take this piece of code: ----------------------------------------- procedure Test is task type T1; task body T1 is begin null; end; task type T2 is entry E; end T2; task body T2 is begin accept E do declare T : T1; begin return; end; end E; end; My_T2 : T2; begin My_T2.E; end; ----------------------------------------- what does exactly happen at the "return" statement in the accept. does it wait for the termination of task T? Thanks for any help Sami