Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.value

Installation
============

To install atomic, use pip : ::

pip install atomic

Acknowledgement
===============

This is heavily inspired by `ruby-atomic `_.