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.3.tar.gz
(8.4 kB
view hashes)