An atomic class that guarantees atomic updates to its contained value.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atomic-0.7.2.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for atomic-0.7.2-cp27-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f3c24e43f6ad903b96a6e7841e46788788cfd011320cbfba7422c4711c717e4 |
|
MD5 | 59ae66798c9ca74b0e333978e2f3ca48 |
|
BLAKE2b-256 | aab8522ba7f6c3380647b0551afd8e6f7c0082e170803530135d4f6105af0568 |