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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Task_Barriers Date: Thu, 25 Jul 2019 16:59:10 -0500 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Thu, 25 Jul 2019 21:59:11 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="26432"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader01.eternal-september.org comp.lang.ada:56948 Date: 2019-07-25T16:59:10-05:00 List-Id: There's nothing in the definition of either task that would cause it to exit, regardless of what the barrier does, so the only result could possibly be to run more-or-less forever. (As noted by someone else, the loops run too slowly for overflow to happen on the counter, and there is no exit.) Randy. "Simon Wright" wrote in message news:lyv9vpamxi.fsf@pushface.org... > Gilbert Gosseyn writes: > >> although it should stop when reaching an internal count number > > What internal count number is that?