comp.lang.ada
 help / color / mirror / Atom feed
From: "Tom De Muer" <tom.demuer@skynet.be>
Subject: Problem with intertask comm
Date: Thu, 12 Apr 2001 19:58:37 +0200
Date: 2001-04-12T19:58:37+02:00	[thread overview]
Message-ID: <3ad5ecf3$0$191$456d72a3@news.skynet.be> (raw)

Hi,

I'm doing the same assignment as Pieter Thysebaert who posted a message some
days ago but I came across another problem:

"The prefix to 'ACCESS shall not be statically deeper than that of the
expected type, Continuing"

The problem is located between **:

-- begin code
declare
 monitor_data_a  : aliased Monitor_Data := (Patient => 1);
 monitor_machine_a  : aliased MonitorTask(info_for_monitor =>
monitor_data_a'Access);

** ** patient_data_a : aliased Patient_Data := (id => 1, my_monitor =>
monitor_machine_a'access); ** **
 patient_a   : PatientTask(info_for_patient => patient_data_a'access);
 begin
null;
end;
-- end code

What am I doing wrong here?  Is the monitor_machine_a'access not available
yet?  I thought that was the problem so I declared the patient_data_a &
patient_a in a subblock but same problem there.

Any help appreciated,
Tom De Muer







             reply	other threads:[~2001-04-12 17:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-12 17:58 Tom De Muer [this message]
2001-04-12 18:38 ` Problem with intertask comm tmoran
2001-04-12 21:38 ` Ted Dennison
2001-04-12 22:06   ` Tom De Muer
2001-04-12 23:41     ` tmoran
2001-04-13 13:28     ` Ted Dennison
2001-04-13 17:10       ` Jean-Pierre Rosen
replies disabled

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