Skip to content

Add std::memory_order parameter for eg Gauge operations? #732

@lukeocamden

Description

@lukeocamden

Hello,

Gauge and friends behave like std::atomic<double>. Do you think it makes sense to add std::memory_order parameter to operations so that the caller doesn't have to pay for sequential consistency if they don't need it?

Let me know what you think!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions