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!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 26 Jul 2019 18:59:11 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Task_Barriers Date: Fri, 26 Jul 2019 19:59:11 -0400 Organization: IISS Elusive Unicorn Message-ID: References: User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-gXrqZNkEb9Plp21GDAFayck259rCeWIEv6q1Kx+RLcLfwG81IQ5C+6TKK8zaeVkcC2KtrtSKv0EAkMt!8Vsa8UjnXgqrNMwz5U06Lu6nmjy7A3pWDvgF0zx5jbl0sput8psrSPjgo6w6RH7p2a1jzfCY X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1943 X-Received-Bytes: 2225 X-Received-Body-CRC: 644964177 Xref: reader01.eternal-september.org comp.lang.ada:56963 Date: 2019-07-26T19:59:11-04:00 List-Id: On Fri, 26 Jul 2019 08:52:13 +0100, Simon Wright declaimed the following: >... my (somewhat over-Socratic) point was, "you (OP) talk about an >'internal count number' but your code has no such thing, I think you may >be showing us a different version of your code from that which actually >has the problem". I suspect the OP was considering the discriminant on the barrier (2 tasks before release) as the counter. But as I read the documentation, once the /n/ tasks are released, the barrier counter goes back to 0 and the next cycle of the loops will resynchronize on the barrier. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/