You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may have been confused. We have to do critical_section::Mutex<RefCell<T>> because the critical_section::Mutex is re-entrant. The std::sync::Mutex however gives you an object that implements DerefMut.
An
RwLock
is a more gentle way to introduce both sharing and mutability in the same type.The text was updated successfully, but these errors were encountered: