comp.lang.ada
 help / color / mirror / Atom feed
* Problem with intertask comm
@ 2001-04-12 17:58 Tom De Muer
  2001-04-12 18:38 ` tmoran
  2001-04-12 21:38 ` Ted Dennison
  0 siblings, 2 replies; 7+ messages in thread
From: Tom De Muer @ 2001-04-12 17:58 UTC (permalink / 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







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

end of thread, other threads:[~2001-04-13 17:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-12 17:58 Problem with intertask comm Tom De Muer
2001-04-12 18:38 ` 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

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