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,b190a294f6d5a654 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-26 20:30:27 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3BB29D67.836BAAEA@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: "Ada as a second language" question References: <3BB25B0A.1FEFFF71@san.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 27 Sep 2001 03:30:26 GMT NNTP-Posting-Host: 12.86.36.252 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 1001561426 12.86.36.252 (Thu, 27 Sep 2001 03:30:26 GMT) NNTP-Posting-Date: Thu, 27 Sep 2001 03:30:26 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:13421 Date: 2001-09-27T03:30:26+00:00 List-Id: Darren New wrote: > > If you have this book and a few minutes, can you turn to page 879? > > Therein you find a Load_Manager. The said Load_Manager demonstrates the > proper way to requeue an entry. > > Unfortunately, it looks like if someone calls Set_Load while nothing > else is queued, and in particular while there's nothing queued on > Wait_To_Retry, then the whole system will block. Nothing's queued on the > private entry that opens the only public entry. > > Am I missing something? Or is this an error in that code? Particularly > since a paragraph or two later the author says "As the example > illustrates, the 'Count attribute can be used in a barrier", except he > doesn't. You are correct. There is an error in that code. The error can be fixed by changing Set_Load to an entry, using 'Count attribute for the barrier condition. Jim Rogers Colorado Springs, Colorado USA