Add a replacement for std::sync::Arc
that uses portable-atomic::AtomicUsize
#37
Labels
C-enhancement
Category: A new feature or an improvement for an existing one
There should be an
alloc
feature that provides a replacement forArc
that usesportable_atomic::AtomicUsize
instead of the standard library version. This would allow users ofportable_atomic
to useArc
on targets where atomics are not supported but allocation is.However, this may be better suited for an alternate crate instead of this crate. I can implement either if desired.
The text was updated successfully, but these errors were encountered: