From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1b417df64012e6d3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-17 21:15:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!207.115.63.138!newscon04.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr30.news.prodigy.com.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <%12l8.9656$%_6.1717935@news11-gui.server.ntli.net> <3C94F235.80C7166A@adaworks.com> <1f8l8.12464$yb3.3172535409@newssvr11.news.prodigy.com> <3C95460D.4B2419D0@acm.org> Subject: Re: tasks, protected types and entries X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <3Jel8.67406$vd4.3013427256@newssvr30.news.prodigy.com> NNTP-Posting-Host: 208.191.177.131 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr30.news.prodigy.com 1016428479 ST000 208.191.177.131 (Mon, 18 Mar 2002 00:14:39 EST) NNTP-Posting-Date: Mon, 18 Mar 2002 00:14:39 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: FKPO@SJGTZYQBQXYQ[OD]_HBWB]^PCPDLXUNNHLIWIWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Mon, 18 Mar 2002 05:14:39 GMT Xref: archiver1.google.com comp.lang.ada:21394 Date: 2002-03-18T05:14:39+00:00 List-Id: "Jeffrey Carter" wrote in message news:3C95460D.4B2419D0@acm.org... > Pat Rogers wrote: > > > > "Richard Riehle" 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...