Created on 2019-08-03.00:00:00 last changed 13 months ago
Proposed resolution:
This wording is relative to N4830.
Modify [atomics.lockfree] as indicated:
-2- The functions atomic<T>::is_lock_free, and atomic_is_lock_free ([atomics.types.operations]) indicate
swhether the object is lock-free. In any given program execution, the result of the lock-free query is the same for all atomic objectsshall be consistent for all pointersof the same type.
[ 2020-11-09 Approved In November virtual meeting. Status changed: Ready → WP. ]
[ 2020-02 Status to Ready on Thursday morning in Prague. ]
According to SG1 experts, the requirement in [atomics.lockfree]/2 is intended to require that the answer for is_lock_free() be the same for a given T for a given run of the program. The wording does not achieve that because it's described in terms of 'pointers', but there are no pointers in an atomic<int>.
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-11-22 15:47:43 | admin | set | status: wp -> c++23 |
2020-11-09 20:31:48 | admin | set | messages: + msg11545 |
2020-11-09 20:31:48 | admin | set | status: ready -> wp |
2020-02-13 12:32:11 | admin | set | messages: + msg11058 |
2020-02-13 12:32:11 | admin | set | status: new -> ready |
2019-08-06 16:46:59 | admin | set | messages: + msg10546 |
2019-08-03 00:00:00 | admin | create |