This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/65033] C++11 atomics: is_lock_free result does not always match the real lock-free property


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65033

torvald at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torvald at gcc dot gnu.org

--- Comment #10 from torvald at gcc dot gnu.org ---
The difference is unfortunate, but C11 specifies that atomic_is_lock_free is
*per object*.  I suppose that any change there would have to go through the ISO
C process.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]