Open sokorototo opened 4 months ago
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?
RefCell
Mutex
RefCell
will quietly panic during a double write, butMutex
locks the current thread. UsingRefCell
limits the code to single-threaded programs, which I assume most services calling RPC aren't?