Skip to content

Optional (unsafe) cfg to use atomic builtins on targets where atomic CAS is not supported, or on atomic operations of unsupported sizes #33

@taiki-e

Description

@taiki-e

Split from #26.

Use atomic builtins. (Let the user implement the actual atomic logic.) (multi-core safety: implementation-dependent)
See this comment for problems I am aware of.
implementation: Add cfg to use __atomic_* builtins #30

Should be unsafe cfg.

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