comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Task activation
Date: Wed, 21 Dec 2011 04:31:13 -0800 (PST)
Date: 2011-12-21T04:31:13-08:00	[thread overview]
Message-ID: <269dbd29-6f2a-4964-8964-67162e42da95@l24g2000yqm.googlegroups.com> (raw)
In-Reply-To: 35439693-e50e-47cb-818c-e4960171a8b8@n6g2000vbg.googlegroups.com

On 21 Dez., 13:27, tonyg <tonytheg...@gmail.com> wrote:
> On Dec 21, 11:58 am, tonyg <tonytheg...@gmail.com> 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?



  reply	other threads:[~2011-12-21 12:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 11:58 Task activation tonyg
2011-12-21 12:27 ` tonyg
2011-12-21 12:31   ` AdaMagica [this message]
2011-12-21 12:35 ` Niklas Holsti
2011-12-22  8:26   ` tonyg
  -- strict thread matches above, loose matches on Subject: below --
1999-11-20  0:00 task activation Matthew Heaney
1999-11-21  0:00 ` Jean-Pierre Rosen
1999-11-22  0:00 ` Robert A Duff
1999-11-22  0:00   ` Matthew Heaney
1999-11-23  0:00     ` Mats Weber
1999-11-23  0:00       ` Matthew Heaney
1999-12-02  0:00   ` Ehud Lamm
1999-12-03  0:00     ` Simon Wright
1999-12-06  0:00       ` Robert Dewar
1999-12-06  0:00         ` Robert A Duff
1999-12-06  0:00         ` Simon Wright
1999-12-06  0:00       ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox