(j3.2006) (SC22WG5.3719) [ukfortran] Atomic stuff
N.M. Maclaren
nmm1 at cam.ac.uk
Wed Dec 3 15:34:30 EST 2008
On Dec 3 2008, Jim Xia wrote:
>
>Nick, I don't see how that note (5.42) covers my example.
Sorry - written in too much haste. It doesn't, if ATOMIC_INTEGER_KIND takes
the same space as two INTEGER(KIND=2) variables.
> Then it is clobbered by constraint C589, C590, C591 and 4.5.2.3.
That does it, though.
>Atomic loads and stores on mis-aligned variables are nearly impossible on
>many hardwares (The solution to fix up the mis-alignment by either
>hardware or OS causes the operation become non-atomic, let along the
>performance hit).
Yes, but I think that those constraints already exclude it.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1 at cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679
More information about the J3
mailing list