[cfe-dev] atomic intrinsics

Blaine Garst blaine at apple.com
Mon Oct 18 11:02:40 PDT 2010


On Oct 18, 2010, at 9:11 AM, Howard Hinnant wrote:

> I checked with Lawrence Crowl concerning the C side.  The C spec currently says that different invocations of atomic_is_lock_free for the same pointer type may return different results.  Lawrence tells me that the C spec is based on an old C++ spec and is due to be changed to be consistent with C++.  Therefore I believe we're good to go with bool __atomic_is_lock_free(type).


Sorry, took Friday off.

I'm actively corresponding with Lawrence on atomics with the goal of simplifying both standards - and of course interoperable semantics and in fact some limited interoperable syntax as well.

I wasn't, however, aware of the above issue so I'll check that out.

Blaine



More information about the cfe-dev mailing list