Clean up atomics - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Technical Report) Year : 2018

Clean up atomics


Whereas its intent is clear, the text in the C standard that concerns atomics has several consistency problems. There are contradictions and the standard vocabulary is not always applied correctly. This paper attempts to solve these consistency problems, and to provide a path to a straighter and easier to use and to implement specification. Even though individually the identified flaws are simple to repair, all together they form a relatively large batch of changes (spelled out in an appendix).-This is a follow-up of N1955 that resulted from many discussions on the WG14 reflector or elsewhere. In particular, it integrates suggestions by Robert Seacord, Richard Smith, Aaron Ballman, and probably many more.
Fichier principal
Vignette du fichier
n2329+appendix.pdf (1.06 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-02046430 , version 1 (22-02-2019)


  • HAL Id : hal-02046430 , version 1


Jens Gustedt. Clean up atomics. [Technical Report] N2329, ISO JCT1/SC22/WG14. 2018. ⟨hal-02046430⟩
55 View
50 Download


Gmail Facebook X LinkedIn More