From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 17 Sep 93 14:37:41 GMT From: news.crd.ge.com!e7sa!groleau@uunet.uu.net (Wes Groleau x1240 C73-8) Subject: Re: Tasking in Ada Message-ID: List-Id: In article rlk@bonnie.Rational.COM (Robert Kitzberger) w rites: >Too bad that tasks can't be generic units -- otherwise you could >parameterize a task with a unique id (as well as address clauses >for interrupt entries, etc...) But a generic package CAN contain a task, which could then know what its generic parameters are. The disadvantage (which would also apply if the task itself was generic) is that you can't have an array of instantiations; you'd have to call each by its instantiated name.