[New-bugs-announce] [issue12850] [PATCH] stm.atomic

Armin Rigo report at bugs.python.org
Mon Aug 29 11:25:41 CEST 2011


New submission from Armin Rigo <arigo at users.sourceforge.net>:

Here is (attached) a minimal patch to the core trunk CPython to allow extension modules to take over control of acquiring and releasing the GIL, as proposed here:

http://mail.python.org/pipermail/python-dev/2011-August/113248.html

With this patch, it is possible to write an independent extension module that offers the basic STM "with atomic" blocks:

https://bitbucket.org/arigo/cpython-withatomic/raw/default/stm

As Guido hints in the mail above, more experimentation is needed before we know if the idea can really fly, notably if there are annoying issues with existing locks causing random deadlocks.

----------
components: Interpreter Core
files: stm.diff
keywords: patch
messages: 143132
nosy: arigo
priority: normal
severity: normal
status: open
title: [PATCH] stm.atomic
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file23059/stm.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12850>
_______________________________________


More information about the New-bugs-announce mailing list