comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@nospam.baesystems.com>
Subject: Re: Protected Object: little question
Date: Mon, 3 Dec 2001 15:26:11 -0000
Date: 2001-12-03T15:26:11+00:00	[thread overview]
Message-ID: <3c0b95e7$1@pull.gecm.com> (raw)
In-Reply-To: 3C0B7CF4.F4C8DECA@brighton.ac.uk

"John English" <je@brighton.ac.uk> wrote in message
news:3C0B7CF4.F4C8DECA@brighton.ac.uk...
> Bruno Hergott wrote:
> >
> > My question is:
> > If i want to implement an action wich does only read access to the
> > protected data and wich can
> > be called by 2 tasks at the same time, i must write a function.
> > But i may not need the return value of this function. Because what
> > i want is not really a function.
>
> I'd like to know how this can ever be necessary. The function can
> only read the PO's private data, so if you aren't altering it and
> you aren't interested in its value, what are you trying to do with
> it?

could he be passing the (current) contents of the PO on to the 'outside'
world?..





      reply	other threads:[~2001-12-03 15:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30 19:29 Protected Object: little question Bruno Hergott
2001-11-30 21:15 ` Dale Stanbrough
2001-12-01  4:00   ` Mark Lundquist
2001-12-01 15:55     ` Nick Roberts
2001-11-30 22:37 ` Jeffrey Carter
2001-12-01 10:43 ` Ehud Lamm
2001-12-03 13:24 ` John English
2001-12-03 15:26   ` Martin Dowie [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