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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,30dd116614f4610e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Protected Objects And Many Processors Date: Fri, 21 Jan 2011 21:31:23 +0100 Organization: Ada @ Home Message-ID: References: <4d39cbde$0$6882$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: si1wcqmfPAlDmjwCD+0L/g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/11.00 (Win32) Xref: g2news2.google.com comp.lang.ada:17590 Date: 2011-01-21T21:31:23+01:00 List-Id: Le Fri, 21 Jan 2011 20:55:22 +0100, Jeffrey Carter = a =C3=A9crit: > 2. Protected functions can return indefinite types with actual values = = > determined by the function; task entries are constrained to the size o= f = > objects provided by the caller. Ah, I see. There is indeed nothing like a real function with tasks, and = = will not allocate on the caller's stack. But there is still room to return a reference to some dynamically = allocated memory, even indirectly, or no ? (I do not see anything which = = would prohibit this, although I did not try it) -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]