This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65033] C++11 atomics: is_lock_free result does not always match the real lock-free property
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Aug 2016 16:49:52 +0000
- Subject: [Bug libstdc++/65033] C++11 atomics: is_lock_free result does not always match the real lock-free property
- Auto-submitted: auto-generated
- References: <bug-65033-4@http.gcc.gnu.org/bugzilla/>
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>.