`RefCell` inside `Arc`
jonathanpwang opened this issue · comments
Usually one uses either Rc<RefCell>
if it is not intended to be thread-safe, or Arc<Mutex>
if it is supposed to be thread-safe (the Mutex locks until the given thread gets access to the object).
What is the intended use case here?