Skip to content

Add a replacement for std::sync::Arc that uses portable-atomic::AtomicUsize #37

@notgull

Description

@notgull

There should be an alloc feature that provides a replacement for Arc that uses portable_atomic::AtomicUsize instead of the standard library version. This would allow users of portable_atomic to use Arc 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: A new feature or an improvement for an existing one

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions