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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Taking 'Access of single task/protected object Date: Thu, 7 Jan 2016 20:38:33 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 7 Jan 2016 19:35:55 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="f6d1b45dd8620503d5e4b7591f1f84d0"; logging-data="24227"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SnDs02SZ3ArKdC6I/0EP8" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: Cancel-Lock: sha1:rpb9hfNe+8lGQcnkEXtgfKtltFo= Xref: news.eternal-september.org comp.lang.ada:29049 Date: 2016-01-07T20:38:33+01:00 List-Id: Le 07/01/2016 19:16, Jeffrey R. Carter a écrit : > Presumably the desire is to have multiple single tasks, all with an entry > Something, so that the operations of the type can call different tasks. In this > situation, there would be a finite set of known single tasks, so the type could > hold the task ID of the appropriate task, and operations could select the task > to call based on the ID. This can be achieved by having all the single task inherit an interface. -- 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