comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Elaboration in Detached Process
Date: 05 Jun 2003 14:18:33 -0400
Date: 2003-06-05T18:18:31+00:00	[thread overview]
Message-ID: <un0gwfkw6.fsf@nasa.gov> (raw)
In-Reply-To: 6449213e.0306050805.3d143731@posting.google.com

fmattison@ssd5.nrl.navy.mil (Frank Mattison) writes:

> Has anyone experienced this problem, when running Ada 83 (OpenVMS)
> detached?
> 
> In the following example Data_Ptr initializes correctly when running
> as an interactive process.  But when running as a detached process,
> this initialization raises an exception when the procedure is called:
> 
> procedure XYZ(Data_Format : in Data_Formats) is
>    Data_Ptr : Data_Ptrs := new Data_Types(Data_Format);
> begin
>       ...
> 
> There are other cases where the elaboration seems to fail when the
> process is switched to detached.  Does anyone have a suggestion as to
> how to handle this?

I don't have any experience, but perhaps the default stack and heap
sizes are smaller for detached processes, so you are getting
Storage_Error? 

-- 
-- Stephe



      parent reply	other threads:[~2003-06-05 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-05 16:05 Elaboration in Detached Process Frank Mattison
2003-06-05 16:52 ` Elaboration in Detached Process (Ada83 on VMS) Larry Kilgallen
2003-06-05 18:18 ` Stephen Leake [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