Skip to content

proposal: atomic assignment @= #17866

@zigo101

Description

@zigo101

This is a very rough proposal.

For a concurrent program, frequently calling functions in sync/atomic packages is verbose, especially for getting/setting pointer values. So how about to add a new operator @= to make atomic assignments?

I don't know how difficult to implement this, but I think this feature will be like the go keyword, to make go programs cleaner.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions