comp.lang.ada
 help / color / mirror / Atom feed
* GNAT 4.8 atomic access to 64-bit objects
@ 2013-11-14 15:57 Dmitry A. Kazakov
  2013-11-14 20:34 ` Ludovic Brenta
  2013-11-15 19:08 ` Stefan.Lucks
  0 siblings, 2 replies; 10+ messages in thread
From: Dmitry A. Kazakov @ 2013-11-14 15:57 UTC (permalink / raw)


The following does not compile anymore for 32-bit Linux targets, e.g. under
Debian:

procedure Test is
   type T is mod 2**64;
   X : T;
   pragma Atomic (X); -- Error
begin
   null;
end Test;

The above seems no more legal, because the compiler does not support atomic
access to X.

Is there a way to change this without machine code insertions?

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-11-22  0:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-14 15:57 GNAT 4.8 atomic access to 64-bit objects Dmitry A. Kazakov
2013-11-14 20:34 ` Ludovic Brenta
2013-11-15  8:44   ` Dmitry A. Kazakov
2013-11-15 19:25     ` Georg Bauhaus
2013-11-15 21:33       ` Dmitry A. Kazakov
2013-11-16 10:08         ` Georg Bauhaus
2013-11-16 12:02           ` Dmitry A. Kazakov
2013-11-15 19:08 ` Stefan.Lucks
2013-11-15 21:19   ` Dmitry A. Kazakov
2013-11-22  0:30     ` Randy Brukardt

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