Unexpected behavior when using `Rc` with `RefCell` in a Rust multi-threaded context
👀 Views: 2
💬 Answers: 1
📅 Created: 2025-06-01
rust multithreading rc refcell arc
I'm encountering an issue while trying to share a mutable state across threads using `Rc<RefCell<T>>`. My intention is to share a counter across multiple thread...