From: Martin Magnusson <mama7121@mink.it.uu.se>
Subject: Tasks sharing a protected object
Date: 26 Oct 2001 16:01:26 +0200
Date: 2001-10-26T16:01:26+02:00 [thread overview]
Message-ID: <n6i669233gp.fsf@mink.it.uu.se> (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;
next reply other threads:[~2001-10-26 14:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-26 14:01 Martin Magnusson [this message]
2001-10-26 14:49 ` Tasks sharing a protected object Ted Dennison
2001-10-31 8:59 ` Tony Gair
2001-11-01 21:16 ` Ted Dennison
2001-10-26 15:20 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox