comp.lang.ada
 help / color / mirror / Atom feed
From: Wes Groleau <wwgrol@sparc01.ftw.rsc.raytheon.com>
Subject: Re: Tasks sharing a protected object
Date: Fri, 26 Oct 2001 10:20:37 -0500
Date: 2001-10-26T10:20:37-05:00	[thread overview]
Message-ID: <3BD97F45.127A44B5@sparc01.ftw.rsc.raytheon.com> (raw)
In-Reply-To: n6i669233gp.fsf@mink.it.uu.se



Martin Magnusson wrote:
> 
> 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?

Put them all in the same package--obviously they're related.

Or put the common stuff in one package and put the tasks
in child packages.

If you want the common stuff visible only to those tasks,
put it in a private child.

-- 
Wes Groleau
http://freepages.rootsweb.com/~wgroleau



      parent reply	other threads:[~2001-10-26 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
replies disabled

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