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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-08 21:00:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!news.stealth.net!204.127.161.2.MISMATCH!wn2feed!worldnet.att.net!135.173.83.72!wnfilter2!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3AA86389.E7D8B805@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: Re: Generic Formal Parameter for a Task Type References: <3AA80A68.A2C8B042@worldnet.att.net> <3AA84FC7.CE523E9D@worldnet.att.net> <1YYp6.431$ea4.144930@nnrp3.sbc.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 09 Mar 2001 04:58:56 GMT NNTP-Posting-Host: 12.74.128.151 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 984113936 12.74.128.151 (Fri, 09 Mar 2001 04:58:56 GMT) NNTP-Posting-Date: Fri, 09 Mar 2001 04:58:56 GMT Organization: AT&T Worldnet Xref: supernews.google.com comp.lang.ada:5564 Date: 2001-03-09T04:58:56+00:00 List-Id: Pat Rogers wrote: > > See RM C.7.1 for package Ada.Task_Identification, specifically function > Is_Terminated. That may be enough... > According to RM C.7.1(5): "A value of the type Task_ID identifies an existent task. The constant Null_Task_Id does not identify and task. Each object of the type Task_ID is default initialized to the value of Null_Task_Id." This means that I would need to create the task object outside the generic package. Inside the generic package I could not clearly identify the limited private type as a task. It could not, therefore have a Task_ID. My generic package cannot control the creation of task objects outside its own scope. I must be able to create the task object within the scope of the generic package. The best I could do inside the generic package is create a number of Task_ID objects, all with the default value of Null_Task_Id. Jim Rogers Colorado Springs, Colorado USA