comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@classwide.com>
Subject: Re: tasks, protected types and entries
Date: Mon, 18 Mar 2002 05:14:39 GMT
Date: 2002-03-18T05:14:39+00:00	[thread overview]
Message-ID: <3Jel8.67406$vd4.3013427256@newssvr30.news.prodigy.com> (raw)
In-Reply-To: 3C95460D.4B2419D0@acm.org

"Jeffrey Carter" <jrcarter@acm.org> wrote in message
news:3C95460D.4B2419D0@acm.org...
> Pat Rogers wrote:
> >
> > "Richard Riehle" <richard@adaworks.com> wrote in message
> > news:3C94F235.80C7166A@adaworks.com...
> > > "chris.danx" wrote:
> > >
> > > > What is the difference between an entry and a procedure?
> > >
> > > This is one of the most important and least often address issue
> > > in Ada.  In my classroom, after we have started our unit on
> > > tasking, I have my students recite, in unison,
> > >
> > >                "An entry has a queue."
> >
> > Unless the Real-Time Annex is used, with the Ceiling_Locking policy.  Then
there
> > is no need for a queue.
>
> This is incorrect. Even with ceiling locking, an entry needs a queue. If
> the entry barrier is false, ceiling locking does not prevent multiple
> tasks from calling the same entry.
>

Yes, of course you are right -- it is the lock that is not necessary.  Mea
culpa.  Typing faster than thinking...





  reply	other threads:[~2002-03-18  5:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-17 14:50 tasks, protected types and entries chris.danx
2002-03-17 14:55 ` chris.danx
2002-03-17 15:46   ` Jim Rogers
2002-03-17 16:49     ` Sergey Koshcheyev
2002-03-17 19:46       ` Robert A Duff
2002-03-17 19:44 ` Richard Riehle
2002-03-17 20:06   ` Ehud Lamm
2002-03-17 21:53   ` Pat Rogers
2002-03-18  1:42     ` Jeffrey Carter
2002-03-18  5:14       ` Pat Rogers [this message]
2002-03-18  0:36   ` Bo Sanden
2002-03-29  0:10   ` chris.danx
2002-03-18 16:41 ` john mann
replies disabled

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