Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An atomic class that guarantees atomic updates to its contained value.
Python Shell
Branch: master
Failed to load latest commit information.
atomic improve AtomicLongArray
docs bump version
tests improve AtomicLongArray
.gitignore use cffi and __atomic gcc built-ins
.travis.yml install gcc 4.7
AUTHORS bump version
LICENSE add missing project files
MANIFEST.in add java code in package
README.rst update README
setup.py bump version

README.rst

Atomic

An atomic class that guarantees atomic updates to its contained value.

from atomic import AtomicLong
atomic = AtomicLong(0)
atomic += 1
atomic.value

Installation

To install atomic, use pip :

pip install atomic

Acknowledgement

This is heavily inspired by ruby-atomic.

Something went wrong with that request. Please try again.