1 Reply
      Latest reply on Sep 30, 2019 3:34 AM by eskimo
      Dennis Chen Level 1 Level 1 (0 points)

        Does anybody can elaborate the difference between the os_atomic_load(,,,, acquire) and os_atomic_load(..., relaxed)?

        • Re: Difference between relaxed and acquire for os_atomic_load?
          eskimo Apple Staff Apple Staff (12,285 points)

          C atomics are not an Apple-specific thing, but defined by the C standard.  Given that, you can find tonnes of info about them from non-Apple sources.  This includes both the standard and various tutorials that explain that standard.

          Note The C standard effectively #included its atomic architecture from the C++ standard.  A lot of the best info out there is for C++, with a simple mapping to get you to C.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"