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,9d73e570d525cb7f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-24 16:05:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-feed.riddles.org.uk!sn-xit-03!sn-xit-01!sn-xit-04!sn-xit-08!supernews.com!12.120.28.37.MISMATCH!attla2!ip.att.net!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail From: "Jeffrey Creem" Newsgroups: comp.lang.ada References: Subject: Re: Ada in VxWorks X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: NNTP-Posting-Host: 66.31.5.146 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1032908426 66.31.5.146 (Tue, 24 Sep 2002 23:00:26 GMT) NNTP-Posting-Date: Tue, 24 Sep 2002 23:00:26 GMT Organization: AT&T Broadband Date: Tue, 24 Sep 2002 23:00:26 GMT Xref: archiver1.google.com comp.lang.ada:29320 Date: 2002-09-24T23:00:26+00:00 List-Id: 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" 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.