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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,319059be794025fd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-28 06:58:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Semaphores without using entry Date: Fri, 28 Dec 2001 10:03:00 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:18352 Date: 2001-12-28T10:03:00-05:00 List-Id: "Jos� Alberto" wrote in message news:a0eqqq$9dk$1@news.ya.com... > Hello to everybody, > > I need to use semaphores for a concurrent program, but I've been told not to > use the entry clause, but I can use the Ada.Synchronous_Task_Control > package. You may want to take a look at my article in the patterns archive, on this very subject: I'm Queueless, or, Suspension Objects Instead of Entries http://www.acm.org/archives/wa.cgi?A2=ind9904&L=patterns&P=R7659 See also: Task Synchronization Using Suspension Objects http://www.acm.org/archives/wa.cgi?A2=ind9904&L=patterns&P=R4138