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-Thread: 103376,d29be2403a55fcc8 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!news.glorb.com!proxad.net!freenix!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Dynamic task activation Date: Mon, 09 May 2005 14:24:53 +0200 Organization: Adalog Message-ID: References: <1115636549.778984.32550@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1115641641 15879 195.25.228.57 (9 May 2005 12:27:21 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 9 May 2005 12:27:21 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: fr, en In-Reply-To: <1115636549.778984.32550@z14g2000cwz.googlegroups.com> Xref: g2news1.google.com comp.lang.ada:10974 Date: 2005-05-09T14:24:53+02:00 List-Id: evangeli@cnam.fr a �crit : > hello > let's take this piece of code : > > ==================================== > ... > task type T_Task; > type T is access T_Task; > ... > V : T := new T_Task; > -- 1 > ... > ==================================== > > Is the task pointed by V necessarily activated at point 1, or can it be > activated later? >>>From RM 9.2.4, I guess the answer is yes but i wanted to be sure. > The task is activated *before* the return from "new". The goal is that when you can access the task, it is guaranteed to have been activated. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr