comp.lang.ada
 help / color / mirror / Atom feed
* Elaboration in Detached Process
@ 2003-06-05 16:05 Frank Mattison
  2003-06-05 16:52 ` Elaboration in Detached Process (Ada83 on VMS) Larry Kilgallen
  2003-06-05 18:18 ` Elaboration in Detached Process Stephen Leake
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Mattison @ 2003-06-05 16:05 UTC (permalink / raw)


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?

Thanks,

Frank Mattison



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Elaboration in Detached Process (Ada83 on VMS)
  2003-06-05 16:05 Elaboration in Detached Process Frank Mattison
@ 2003-06-05 16:52 ` Larry Kilgallen
  2003-06-05 18:18 ` Elaboration in Detached Process Stephen Leake
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Kilgallen @ 2003-06-05 16:52 UTC (permalink / raw)


In article <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?

Is the detached process running under DCL or without it ?

Is this Alpha or VAX ?

What version of VMS ?

What version of VAX/DEC/Compaq Ada ?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Elaboration in Detached Process
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Leake @ 2003-06-05 18:18 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-05 18:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` Elaboration in Detached Process Stephen Leake

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