Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 450 Bytes

File metadata and controls

10 lines (6 loc) · 450 Bytes

ARC

Back

Arc stands for Atomic Reference Counting. It's a thread-safe reference-counting pointer used for shared ownership of data across multiple threads.

  1. Arc allows multiple threads to share ownership of the same data.
  2. Unlike Rc (Reference Counting), which is non-thread-safe, Arc uses atomic operations for reference counting, making it safe for concurrent use
  3. There are essentially atomic shared pointers