From: Simon Wright <simon@pushface.org>
Subject: Re: Elaboration problem with a task
Date: Thu, 05 Jan 2006 20:42:08 +0000
Date: 2006-01-05T20:42:08+00:00 [thread overview]
Message-ID: <m2bqyqv23j.fsf@grendel.local> (raw)
In-Reply-To: fwjHYACS8OvDJw3e@diphi.demon.co.uk
This compiles & runs OK (GNAT/GPL on MacOS):
with Parent_P.Child_C1;
pragma Elaborate (Parent_P.Child_C1);
package body Parent_P is
The normal rule-of-thumb with GNAT is to avoid creating tasks during
elaboration; try to use task types and create the actual tasks after
elaboration has completed. I know this tends to add complication to
the design!
prev parent reply other threads:[~2006-01-05 20:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 10:04 Elaboration problem with a task JP Thornley
2006-01-05 10:16 ` Martin Dowie
2006-01-05 11:13 ` JP Thornley
2006-01-05 14:18 ` Martin Dowie
2006-01-05 16:35 ` Pascal Obry
2006-01-05 19:34 ` Jeffrey R. Carter
2006-01-05 20:42 ` Simon Wright [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox