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: a07f3367d7,4fe1e6b66c35dfe2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feedme.ziplink.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: About task-safeness Date: Wed, 02 Feb 2011 23:38:21 +0100 Organization: Adalog Message-ID: References: <06ecb5ab-a9e5-4a5d-9370-6bbe137d3693@glegroupsg2000goo.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 2 Feb 2011 22:38:15 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="cJo7kSTQUrCFv2/D8KKtqw"; logging-data="24803"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8X15oXi9dtY7TycmBCSWv" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <06ecb5ab-a9e5-4a5d-9370-6bbe137d3693@glegroupsg2000goo.googlegroups.com> Cancel-Lock: sha1:0iQKM0Ye9bUbQYhXfbfC4TDls1k= Xref: g2news1.google.com comp.lang.ada:16829 Date: 2011-02-02T23:38:21+01:00 List-Id: Le 02/02/2011 21:51, mockturtle a �crit : > Of course, one could do a review of all the packages to check for > this type of problems, but since an Ada compiler has the good habit > of protecting you from yourself, I searched for a way to have the > compiler to check the task-safety of the packages used by tasks. Or you can use AdaControl, have a look at rule Global_References. This can check all global variables accessed from more than one task (and it does so by following the call graph). -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a d�m�nag� / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00