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,1a44c40a66c293f3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps90.POSTED!023a3d7c!not-for-mail Sender: blaak@METROID Newsgroups: comp.lang.ada Subject: Re: PAR (Was: Embedded languages based on early Ada) References: <1172192349.419694.274670@k78g2000cwa.googlegroups.com> <113ls6wugt43q$.cwaeexcj166j$.dlg@40tude.net> <1i3drcyut9aaw.isde6utlv6iq.dlg@40tude.net> <1c61jqeqo68w$.2irtg70stnsa.dlg@40tude.net> <1vdieyr16h7ct$.1vuvfmghy8dzo$.dlg@40tude.net> <1l5727owshrjf$.uuylbc4ek430.dlg@40tude.net> <45EF1E2B.2020703@obry.net> From: Ray Blaak Organization: The Transcend Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Mar 2007 18:08:26 GMT NNTP-Posting-Host: 208.66.252.228 X-Trace: edtnps90 1173377306 208.66.252.228 (Thu, 08 Mar 2007 11:08:26 MST) NNTP-Posting-Date: Thu, 08 Mar 2007 11:08:26 MST Xref: g2news1.google.com comp.lang.ada:14426 Date: 2007-03-08T18:08:26+00:00 List-Id: "Randy Brukardt" writes: > A parallel subprogram would be defined by the keyword parallel. They would > be like a normal Ada subprogram, except: > * Access to global variables is prohibited, other than protected > objects, atomic objects, and objects of a declared parallel type. Note that > this also includes global storage pools! I understand the reason for this restriction, but fear that it is not useful in practice. This would prevent the use of regular library calls, unless those libraries are pure. Is that reasonable? Hmm, maybe those libraries can be access via calls from protected objects only? I am wondering if this restriction makes things too onerous for the programmer to use the library environment they have access to, especially as compared to normal sequential programming. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, rAYblaaK@STRIPCAPStelus.net The Rhythm has my soul.