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.2 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4fe1e6b66c35dfe2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Vinzent Hoefler" <0439279208b62c95f1880bf0f8776eeb@t-domaingrabbing.de> Newsgroups: comp.lang.ada Subject: Re: About task-safeness Date: Wed, 02 Feb 2011 22:01:20 +0100 Message-ID: References: <06ecb5ab-a9e5-4a5d-9370-6bbe137d3693@glegroupsg2000goo.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: individual.net +MdRdgoddVwBTRqCTK3FawamFVvPNX4RbMb0tZdPxbDBwP3F3Y Cancel-Lock: sha1:8kWw0h8MYiPGxQZXARSLGYgAtXQ= User-Agent: Opera Mail/11.01 (Win32) Xref: g2news2.google.com comp.lang.ada:17796 Date: 2011-02-02T22:01:20+01:00 List-Id: mockturtle wrote: > * Am I granted (maybe by some obscure paragraph of our beloved RM ;-) that the standard > packages are task-safe? (I would be surprised if they weren't, but it is nice to be sure...) Well, ARM 05, A(3/2) says: |The implementation shall ensure that each language-defined subprogram is reentrant in |the sense that concurrent calls on the same subprogram perform as specified, so long |as all parameters that could be passed by reference denote nonoverlapping objects. Apart from that, you probably have to trust the programmer - or some tool. Vinzent. -- You know, we're sitting on four million pounds of fuel, one nuclear weapon, and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it? -- Rockhound, "Armageddon"