Agora RTC Objective-C API Reference Refactor

AtomicOps Class Reference

## Member Function Documentation

## ◆ Increment()

static int Increment | ( | volatile int * | i | ) |
| inlinestatic

## ◆ Decrement()

static int Decrement | ( | volatile int * | i | ) |
| inlinestatic

## ◆ AcquireLoad()

static int AcquireLoad | ( | volatile const int * | i | ) |
| inlinestatic

## ◆ ReleaseStore()

static void ReleaseStore | ( | volatile int * | i,
|  | int | value
| ) |  |
| inlinestatic

## ◆ CompareAndSwap()

static int CompareAndSwap | ( | volatile int * | i,
|  | int | old_value,
|  | int | new_value
| ) |  |
| inlinestatic

## ◆ AcquireLoadPtr()

static T* AcquireLoadPtr | ( | T *volatile * | ptr | ) |
| inlinestatic

## ◆ CompareAndSwapPtr()

static T* CompareAndSwapPtr | ( | T *volatile * | ptr,
|  | T * | old_value,
|  | T * | new_value
| ) |  |
| inlinestatic