Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78971 > unrolled thread

[ANN] Atomos 0.1.0 - Atomic primitives for Python

Started byMax Countryman <maxc@me.com>
First post2014-10-10 12:49 -0700
Last post2014-10-10 12:49 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  [ANN] Atomos 0.1.0 - Atomic primitives for Python Max Countryman <maxc@me.com> - 2014-10-10 12:49 -0700

#78971 — [ANN] Atomos 0.1.0 - Atomic primitives for Python

FromMax Countryman <maxc@me.com>
Date2014-10-10 12:49 -0700
Subject[ANN] Atomos 0.1.0 - Atomic primitives for Python
Message-ID<mailman.14767.1412970614.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web