Jump to content

Talk:ABA problem

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 98.186.176.38 (talk) at 23:21, 1 June 2013 (→‎Misuse of volatile). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Chart Needed

I just created this page with a basic description of the ABA problem. One thing I think could help readers is a graphic that demonstrates the processes and memory changing over time. Sutekh.destroyer (talk) 23:16, 18 February 2008 (UTC)[reply]

The briefcase example is overly dramatic and has unnecessary detail. Gvanrossum (talk) 22:56, 26 August 2011 (UTC)[reply]

The briefcase example is not actually describing the ABA problem or in a very abstract sense that goes beyond my understanding. If you want a name for it, you could call the problem that is described the AA' problem. Charlie's problem is that A' (the brief case filled with sand) is clearly not equal A (the brief case full of money), or alternatively that he and his his boss are using different notions of equalities. Charlie's problem is not that there was a B state in between. For comparison, Charlie would still have a problem, and this is the whole point of the story but not of the ABA problem, if Albert teleported the money out of the briefcase. — Preceding unsigned comment added by 84.226.131.225 (talk) 18:41, 21 November 2011 (UTC)[reply]

Misuse of volatile

Why declaring the top_ptr volatile ? —Preceding unsigned comment added by 82.67.122.43 (talk) 23:20, 17 October 2010 (UTC)[reply]

I assume it was introduced by a Java programmer who incorrectly believes that volatile has the same semantics in C++. I'll correct it. -98.186.176.38 (talk) 23:21, 1 June 2013 (UTC)[reply]