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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,30ccea015cd2b6c9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.189.194 with SMTP id gk2mr4881668pbc.3.1324470674250; Wed, 21 Dec 2011 04:31:14 -0800 (PST) Path: lh20ni47859pbb.0!nntp.google.com!news2.google.com!postnews.google.com!l24g2000yqm.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: Task activation Date: Wed, 21 Dec 2011 04:31:13 -0800 (PST) Organization: http://groups.google.com Message-ID: <269dbd29-6f2a-4964-8964-67162e42da95@l24g2000yqm.googlegroups.com> References: <8c55f10b-5854-4b0b-835a-bf9c46b4dff4@e2g2000vbb.googlegroups.com> <35439693-e50e-47cb-818c-e4960171a8b8@n6g2000vbg.googlegroups.com> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 X-Trace: posting.google.com 1324470674 17797 127.0.0.1 (21 Dec 2011 12:31:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 21 Dec 2011 12:31:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l24g2000yqm.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-12-21T04:31:13-08:00 List-Id: On 21 Dez., 13:27, tonyg wrote: > On Dec 21, 11:58=A0am, tonyg wrote: > > > I seem to have a problem with task activation > > > I have a task which I am using to launch other tasks. This task is > > activating fine. I have three task pointers in a package spec, when I > > want to activate the task I declare a task of the necessary type > > inside a procedure and point the access variable to the task. However > > it does not seem to get past activation of the task. I cannot see the > > reason for this. > > I placed an exception handler to cover this task and it gave the > following error > > Exception name: PROGRAM_ERROR > Message: Some tasks have not been elaborated > > can someone shed some light on this? There's way too little information about what you're doing. It seems you try to access locally defined tasks (inside a procedure) via global pointers (defined in a package spec). You can't do this. But this should not even compile. So what are you doing?