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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Termination of periodic tasks Date: Tue, 17 Jun 2014 16:51:07 +0200 Organization: A noiseless patient Spider Message-ID: References: <1d268gqj2j3ck$.zuhlkzretdfb.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 17 Jun 2014 14:51:07 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="23dab0694e4174fdc880833ec67fa650"; logging-data="7837"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UOQcPGS1LCR4zmrbklS3I" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <1d268gqj2j3ck$.zuhlkzretdfb.dlg@40tude.net> Cancel-Lock: sha1:8ozgJwQ9AnlI+Zw99KdenMBLDIU= X-Enigmail-Version: 1.6 X-Original-Bytes: 2513 Xref: number.nntp.dca.giganews.com comp.lang.ada:187018 Date: 2014-06-17T16:51:07+02:00 List-Id: Le 17/06/2014 14:55, Dmitry A. Kazakov a écrit : > I am not a language lawyer and cannot tell if this schema must work or not. It won't > The RM is silent about the order in which tasks are awaited. If the tasks > shall be able to complete in any possible order this must be considered > illegal. [Which I would say is a bit over the top a requirement.] If there > shall exist at least one order in which they can complete, it could be > legal. But let's ask our language lawyers... There is no order, because all tasks terminate together (9.3 (6..9)). >From the task you consider, you go to its master; if all tasks that depend on that master are terminatable, then the whole bunch terminates together. Therefore, adding a task cannot make tasks terminate if they could not terminate without the extra task. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr