New submission from Armin Rigo <ar...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12850>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to