comp.lang.ada
 help / color / mirror / Atom feed
From: John English <je@brighton.ac.uk>
Subject: Re: Protected Object: little question
Date: Mon, 03 Dec 2001 13:24:04 +0000
Date: 2001-12-03T13:23:17+00:00	[thread overview]
Message-ID: <3C0B7CF4.F4C8DECA@brighton.ac.uk> (raw)
In-Reply-To: 3C07DE0D.B5B1C77B@9online.fr

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?

-----------------------------------------------------------------
 John English              | mailto:je@brighton.ac.uk
 Senior Lecturer           | http://www.comp.it.bton.ac.uk/je
 Dept. of Computing        | ** NON-PROFIT CD FOR CS STUDENTS **
 University of Brighton    |    -- see http://burks.bton.ac.uk
-----------------------------------------------------------------



  parent reply	other threads:[~2001-12-03 13:24 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 [this message]
2001-12-03 15:26   ` Martin Dowie
replies disabled

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