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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a3e2ce4e6d56336,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-08 14:40:09 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3AA80A68.A2C8B042@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Generic Formal Parameter for a Task Type Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 08 Mar 2001 22:38:38 GMT NNTP-Posting-Host: 12.74.130.42 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 984091118 12.74.130.42 (Thu, 08 Mar 2001 22:38:38 GMT) NNTP-Posting-Date: Thu, 08 Mar 2001 22:38:38 GMT Organization: AT&T Worldnet Xref: supernews.google.com comp.lang.ada:5555 Date: 2001-03-08T22:38:38+00:00 List-Id: I have looked through "Ada as a Second Language" and the Ada Reference manual. I cannot find any proper form to pass a task type as a generic formal parameter. Is there a generic formal parameter form for this purpose? I wanted to create a generic package I call Task_Governor. This package would control the number of tasks one could create at once. The idea is that task resources may be limited. This package would allow someone to limit the number of tasks to a maximum specified. An instantiation of the package would monitor the tasks it started and allow another to be started when one of the tasks terminated. My problem is that I cannot figure out how to specify a task type as a generic formal parameter. Any hints? Jim Rogers Colorado Springs, Colorado USA