This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.
Section: 188.8.131.52 [atomics.types.operations] Status: NAD Editorial Submitter: INCITS Opened: 2010-08-25 Last modified: 2016-02-10
Priority: Not Prioritized
View other active issues in [atomics.types.operations].
View all other issues in [atomics.types.operations].
View all issues with NAD Editorial status.
As of 184.108.40.206 [atomics.types.operations] p. 7:The atomic_init definition "Non-atomically assigns the value" is not quite correct, as the atomic_init purpose is initialization.
Change 220.127.116.11 [atomics.types.operations] p. 7 as indicated:
void atomic_init(volatile A *object, C desired); void atomic_init(A *object, C desired);
Non-atomically assigns the value desired to *object. Concurrent access from another thread, even via an atomic operation, constitutes a data race.