[ANN] Atomos 0.1.0 - Atomic primitives for Python

Max Countryman maxc at me.com
Fri Oct 10 21:49:57 CEST 2014


I would like to announce the initial release of Atomos, a library that provides atomic primitives a la java.util.concurrent.atomic as well as a Python implementation of Clojure’s atoms.

Atomos targets applications which benefit from threads and wish to eliminate race conditions between them by synchronizing shared state mutation. Traditionally locks are one solution to this problem. However Atomos provides high-level abstractions over locks that allow the developer to think in terms of these abstractions instead of locks. In other words, Atomos does locking for you behind the scenes provided you participate in its API. 

Check out the project on Github for more info and a detailed description of usage: https://github.com/maxcountryman/atomos


* Atomic wrappers around int, long, float, and boolean
* Generalized atomic wrapper around arbitrary object types
* Compare-and-set
* Atomicity without having to think in terms of locks
* Atoms! (http://clojure.org/atoms <http://clojure.org/atoms>)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141010/08fb87ee/attachment.html>

More information about the Python-list mailing list