volatile asm

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Jan 21 19:58:37 PST 2009


On Wed, Jan 21, 2009 at 9:49 PM, Jason House
<jason.james.house at gmail.com> wrote:
> I was just looking at Atomic.d in the D2 port of tango and I see that all the volatile keywords are commented out.  My understanding is that the ordering of the assembly in those blocks is incredibly important to preserve as-is.  What is the way to ensure that in D2?

olol, use inline assembly or link to external functions that do that.

That's what Walter told me, anyway.

http://www.digitalmars.com/d/archives/digitalmars/D/announce/DMD_1.029_and_2.013_releases_11949.html#N11974



More information about the Digitalmars-d mailing list