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,a011e82e0079f0ea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-09 19:36:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread4.news.pas.earthlink.net.POSTED!not-for-mail Message-ID: <3F35AFA7.1030905@spam.com> From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ravenscar - Multiple Protected Entries References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 10 Aug 2003 02:36:24 GMT NNTP-Posting-Host: 63.184.33.192 X-Complaints-To: abuse@earthlink.net X-Trace: newsread4.news.pas.earthlink.net 1060482984 63.184.33.192 (Sat, 09 Aug 2003 19:36:24 PDT) NNTP-Posting-Date: Sat, 09 Aug 2003 19:36:24 PDT Xref: archiver1.google.com comp.lang.ada:41291 Date: 2003-08-10T02:36:24+00:00 List-Id: Stephan Heinemann wrote: > Multiple protected entries are prohibited, saying that more than exactly > one barrier could be opened at the same time and therefore introducing > non-determinism as more than one task were able to enter the resource > (YCS-2003-348 4.1.4). I cannot follow this reasoning as > FIFO_Within_Priorities is used. Can anybody help me with this? Suppose 2 tasks have the same priority, are blocked on 2 entries of a protected object, and both barriers become True at the same time. How do you determine which of the 2 tasks executes next? -- Jeff Carter "I spun around, and there I was, face to face with a six-year-old kid. Well, I just threw my guns down and walked away. Little bastard shot me in the ass." Blazing Saddles