Hi,

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

Features:

* 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>)

Thanks,


Max
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to