comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey Creem" <jeff@thecreems.com>
Subject: Re: Ada in VxWorks
Date: Tue, 24 Sep 2002 23:00:26 GMT
Date: 2002-09-24T23:00:26+00:00	[thread overview]
Message-ID: <e86k9.62356$gA4.9742@sccrnsc02> (raw)
In-Reply-To: amp60b$mtu$1@newstoo.ericsson.se

This is also true of the older VADS products. At least with VADS, the issue
was that
certain constructs (some default initialization, perhaps others) are done
not by generating code
but by inserting the default values in the the initialized data segment.
There are many benefits to
this but one downside is that if the data segment is then modified as the
program runs and you try
to re-run without a re-load you can end up with all sorts of strage
behaviour.

In some cases this is not as bad at it sounds. In general for my
applications I just have the main program
always running (perhaps doing nothing -- blocked) and just use externally
named procedures
(pragma Export) that I can call repeatedly (the external procedures will
typically run over
and over with no problems).

"Marcus Hedlund" <marcus.hedlund@avionics.saab.se> wrote in message
> I have managed to integrate GNAT pro with VxWorks and am trying to run a
few
> ada programs.
> However I can only run the same Ada program once. After trying to run it
> twice, an exception is raised and the program hangs.







      parent reply	other threads:[~2002-09-24 23:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-24  8:05 Ada in VxWorks Marcus Hedlund
2002-09-24 12:39 ` stefan.lindesvik
2002-09-25 15:39   ` Toshitaka Kumano
2002-09-24 12:40 ` Emil Moholth
2002-09-24 22:44 ` Ted Dennison
2002-09-24 23:00 ` Jeffrey Creem [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