capnproto-rust
capnproto-rust copied to clipboard
Is there any reason why Rc<RefCell> is used compared to Arc<Mutex>?
RefCell will quietly panic during a double write, but Mutex locks the current thread. Using RefCell limits the code to single-threaded programs, which I assume most services calling RPC aren't?