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: border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: dynamically create tasks Date: Sat, 11 Oct 2014 07:01:07 +0100 Organization: A noiseless patient Spider Message-ID: References: <47e42c27-69ba-44fc-861f-c230f5ac04f4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="865ecc8333c04b7dc8d5f87fc772110b"; logging-data="28855"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wz+BJhPgx8vThww4YN/xLkw/XvbWLy/k=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:6yUJl3ZdPoPhd5CQYy8o8dtqfN0= sha1:3q5xKAVRU2RwnXBT7EB2S1+o3po= Xref: number.nntp.giganews.com comp.lang.ada:189645 Date: 2014-10-11T07:01:07+01:00 List-Id: compguy45@gmail.com writes: > If you have one task body and would like to create 5 of these tasks > since there is one task body there will only be one task created plus > main task....how would you create 20 tasks with same body? is there > way to do this? task type T is ... end T; Tasks : array (1 .. 20) of T; ... task body T is ... end T; See ARM 9.1(2), vs single_task_declaration, (3).