Skip to content

Feat: Support numeric atomic.X types #400

@klauspost

Description

@klauspost

Support atomic.Int32, atomic.Int64 (and unsigned variants) as well as atomic.Bool types for reading/writing.

Probably the easiest way would be to automatically add shims similar to //shim atomic.Int32 as int32 using:msgp.LoadAtomicInt32/msgp.StoreAtomicUint32.

Supporting atomic.Pointer would probably be a lot more complex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions