skip to navigation
skip to content

Not Logged In

atomic 0.7.2

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

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.

 
File Type Py Version Uploaded on Size
atomic-0.7.2-cp27-none-macosx_10_9_x86_64.whl (md5) Python Wheel 2.7 2014-03-17 35KB
atomic-0.7.2.tar.gz (md5) Source 2014-03-17 10KB
  • Downloads (All Versions):
  • 64 downloads in the last day
  • 640 downloads in the last week
  • 2951 downloads in the last month