A

Admin • 828.03K Points
Coach

Q. Which type is used to create atomic reference counting in multi-threaded Rust?

  • (A) Rc<T>
  • (B) RefCell<T>
  • (C) Arc<T>
  • (D) Box<T>
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
Arc<T> allows safe shared ownership across threads.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.