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


Groups > comp.lang.python > #78971

[ANN] Atomos 0.1.0 - Atomic primitives for Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <maxc@me.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'api.': 0.05; 'subject:Python': 0.06; 'subject:ANN': 0.07; 'high-level': 0.09; 'url:github': 0.09; 'wrapper': 0.09; 'developer': 0.10; 'python': 0.11; 'boolean': 0.16; 'from:addr:me.com': 0.16; 'message- id:@me.com': 0.16; 'received:mac.com': 0.16; 'targets': 0.16; 'wrappers': 0.16; 'thanks,': 0.17; 'library': 0.18; 'subject:] ': 0.20; 'received:comcast.net': 0.24; 'initial': 0.24; 'long,': 0.26; 'int,': 0.31; 'announce': 0.33; 'info': 0.35; 'problem.': 0.35; 'skip:j 20': 0.36; 'words,': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'behind': 0.37; 'project': 0.37; 'received:17': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'subject:[': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'more': 0.64; 'between': 0.67; 'benefit': 0.68; 'wish': 0.70; 'atomic': 0.84; 'features:': 0.84; 'float,': 0.84; 'scenes': 0.84; 'race': 0.95
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-10-10_08:2014-10-10,2014-10-10,1970-01-01 signatures=0
X-Proofpoint-Spam-Details rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1410100163
From Max Countryman <maxc@me.com>
Content-type multipart/alternative; boundary="Apple-Mail=_CF0EA110-DB11-4A27-8F53-7F9A3A481CBA"
Subject [ANN] Atomos 0.1.0 - Atomic primitives for Python
Date Fri, 10 Oct 2014 12:49:57 -0700
To python-list@python.org
MIME-version 1.0 (Mac OS X Mail 8.0 \(1988\))
X-Mailer Apple Mail (2.1988)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14767.1412970614.18130.python-list@python.org> (permalink)
Lines 73
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412970615 news.xs4all.nl 2967 [2001:888:2000:d::a6]:43829
X-Complaints-To abuse@xs4all.nl
X-Received-Body-CRC 1479952607
X-Received-Bytes 6280
Xref csiph.com comp.lang.python:78971

Show key headers only | View raw


[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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web