comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Strange behavior
Date: Fri, 05 Sep 2014 16:48:28 -0400
Date: 2014-09-05T16:48:28-04:00	[thread overview]
Message-ID: <wcc4mwlyesj.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: lud64i$qhc$1@dont-email.me

Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org> 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


  reply	other threads:[~2014-09-05 20:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 19:30 Strange behavior Laurent
2014-09-05 19:47 ` sbelmont700
2014-09-05 20:05   ` Laurent
2014-09-06  0:53     ` Dennis Lee Bieber
2014-09-06  1:35       ` Adam Beneschan
2014-09-05 20:23 ` Jeffrey Carter
2014-09-05 20:48   ` Robert A Duff [this message]
2014-09-05 20:34 ` Robert A Duff
2014-09-05 20:40   ` Laurent
2014-09-06  1:10     ` Dennis Lee Bieber
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox