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-Thread: 103376,7b6ebbd3cbca32ce X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!eweka.nl!hq-usenetpeers.eweka.nl!193.201.147.79.MISMATCH!transit4.hitnews.eu!chloor.box.nl!217.188.199.138.MISMATCH!storethat.news.telefonica.de!telefonica.de!news-fra1.dfn.de!news-mue1.dfn.de!lrz.de!not-for-mail From: Sebastian Hanigk Newsgroups: comp.lang.ada Subject: Re: run tasks on events Date: Fri, 30 May 2008 08:56:28 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Message-ID: References: <25a7ce92-c4fc-4cd1-ad59-da225d5114e0@a32g2000prf.googlegroups.com> NNTP-Posting-Host: kelvin.fs.tum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.lrz-muenchen.de 1212130588 22851 129.187.202.43 (30 May 2008 06:56:28 GMT) X-Complaints-To: newsmaster@lrz-muenchen.de NNTP-Posting-Date: Fri, 30 May 2008 06:56:28 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) Xref: g2news1.google.com comp.lang.ada:463 Date: 2008-05-30T08:56:28+02:00 List-Id: Anh Vo writes: > It is not true. Protected entry, implemented in Transient Signals for > example, can suspend/release multiple tasks. You're right, sorry, I should have perused the ARM beforehand. I have now created a protected type with a Boolean member, a procedure to set the Boolean and a protected entry with the Boolean as guard, the entry's body is empty. Inside the tasks' loops I'm calling the type's entry which suspends or activates the task depending on the Boolean flag. Is this a good or adequate solution or have I missed something critical? Best regards, Sebastian