https://issues.dlang.org/show_bug.cgi?id=13713

Richard Cattermole <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Richard Cattermole <[email protected]> ---
GDC has intrinsic support. It also supports GCC's libatomic and a special
platform-specific mutex based upon what the hardware supports.

As of this writing, unless we can guarantee that zero function calls will be
emitted by core.atomic, it isn't fit for purpose.

With lock-free concurrent data structures, unless you are inlining the
instructions, you will almost certainly be working with old and potentially
obsolete information. It results in segfaults. There is no way around this.

As a result of this, an atomic type qualifier would be better suited which is
not syntax suger for function calls.

--

Reply via email to