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

--- Comment #11 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Wed, 3 Aug 2016, torvald at gcc dot gnu.org wrote:

> 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.

See DR#465 
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2059.htm#dr_465>.

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