This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arigo
Recipients arigo
Date 2011-08-29.09:25:38
SpamBayes Score 0.0002594943
Marked as misclassified No
Message-id <1314609941.13.0.16655342422.issue12850@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-08-29 09:25:41arigosetrecipients: + arigo
2011-08-29 09:25:41arigosetmessageid: <1314609941.13.0.16655342422.issue12850@psf.upfronthosting.co.za>
2011-08-29 09:25:40arigolinkissue12850 messages
2011-08-29 09:25:40arigocreate