Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyberdelia/atomic
An atomic class that guarantees atomic updates to its contained value.
https://github.com/cyberdelia/atomic
Last synced: 5 days ago
JSON representation
An atomic class that guarantees atomic updates to its contained value.
- Host: GitHub
- URL: https://github.com/cyberdelia/atomic
- Owner: cyberdelia
- License: mit
- Created: 2012-03-15T15:03:31.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T17:00:14.000Z (about 6 years ago)
- Last Synced: 2024-09-19T21:09:41.170Z (about 2 months ago)
- Language: Python
- Homepage: https://atomic.readthedocs.org
- Size: 48.8 KB
- Stars: 24
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======
Atomic
======An atomic class that guarantees atomic updates to its contained value. ::
from atomic import AtomicLong
atomic = AtomicLong(0)
atomic += 1
atomic.valueInstallation
============To install atomic, use pip : ::
pip install atomic
Acknowledgement
===============This is heavily inspired by `ruby-atomic `_.