comp.lang.ada
 help / color / mirror / Atom feed
* Tasks sharing a protected object
@ 2001-10-26 14:01 Martin Magnusson
  2001-10-26 14:49 ` Ted Dennison
  2001-10-26 15:20 ` Wes Groleau
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Magnusson @ 2001-10-26 14:01 UTC (permalink / raw)


I want to have two tasks sharing a protected object with data used by
both tasks. How do I make them see the same object? I have three
files defining the different types, skeletons for them are shown
below. How can I set the object to use when declaring the task types?

--------

package Agent is
   task type Agent_Task is
      ...
end Agent;

--------

package Environment is
   task type Environment_Task is
      ...
end Environment;

--------

package Shared_Data is
   protected type Shared_Data_Type is
      ...
end Shared_Data;



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

end of thread, other threads:[~2001-11-01 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-26 14:01 Tasks sharing a protected object Martin Magnusson
2001-10-26 14:49 ` Ted Dennison
2001-10-31  8:59   ` Tony Gair
2001-11-01 21:16     ` Ted Dennison
2001-10-26 15:20 ` Wes Groleau

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