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: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Strange behavior Date: Fri, 05 Sep 2014 16:48:28 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <6967b17b-acb9-4b44-b21a-6ddcab1e1065@googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls7.std.com 1409950081 13755 192.74.137.71 (5 Sep 2014 20:48:01 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 5 Sep 2014 20:48:01 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Oi6JcZAxD8qWt/pC163ijwi4Ckk= Xref: number.nntp.dca.giganews.com comp.lang.ada:188885 Date: 2014-09-05T16:48:28-04:00 List-Id: Jeffrey Carter writes: >...So it would be perfectly legal to get > results such as > > HellHelo lofr fomr Yes. Also, a conforming implementation of Ada could print "Happy Birthday", although the output you showed above is more likely. It's also likely to drop characters, because some software is incrementing an index into a buffer and putting a character at that index. And we all know what happens when two tasks increment an index simultaneously without synchronization. - Bob