Skip to content

Add AtomicNumber #65

Description

@dpdani

A more generic version of AtomicInt64, supporting all Python numeric types, even user-defined ones.

It should be a subclass of AtomicRef and it can be implemented in pure Python.
The idea is to define all numerical magic methods and turn them into AtomicRef.compare_and_set() calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions