atomic_refcell icon indicating copy to clipboard operation
atomic_refcell copied to clipboard

Threadsafe RefCell for Rust

Results 5 atomic_refcell issues
Sort by recently updated
recently updated
newest added

In the original RefCell implementation there is a cfg feature called "debug_refcell", which in case of a panic allows to see where a RefCell was first borrowed: ```rust pub struct...

Implements the functionality described here #11

Having `map` methods for reference types which can only work with sub-borrows of the original object is a bit too restrictive in my opinion, and it doesn't allow certain patterns...

Would it be possible to add a weak reference type to this library that doesn't include a lifetime parameter? I've been trying to create something similar to "Box" but with...

There's an already open request about an owned_map feature that return a non-borrowed object. Please consider improving the API with other construct as well: - map : `&T -> &(mut)...