From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: protected object with no private part
Date: Tue, 07 Dec 2010 12:12:37 -0700
Date: 2010-12-07T12:12:37-07:00 [thread overview]
Message-ID: <idm13r$nek$1@tornado.tornevall.net> (raw)
In-Reply-To: <U66dnRVn0fyvi2PRnZ2dnUVZ_hWdnZ2d@giganews.com>
On 12/07/2010 04:10 AM, David Shochat wrote:
> This is for Ada 95. I have a shared object that declares two protected
> procedures and nothing else. There is nothing in the private part (the
> shared entity I'm trying to control access to is shared memory accessed
> using a non-Ada interface). Can I assume that while one of my tasks is
> executing one of the procedures, it is not possible for another task to
> execute the other?
Yes. Protected procedures are mutually exclusive.
--
Jeff Carter
"No one is to stone anyone until I blow this whistle,
do you understand? Even--and I want to make this
absolutely clear--even if they do say, 'Jehovah.'"
Monty Python's Life of Brian
74
prev parent reply other threads:[~2010-12-07 19:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 11:10 protected object with no private part David Shochat
2010-12-07 19:12 ` Jeffrey Carter [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