[issue12850] [PATCH] stm.atomic

Armin Rigo report at bugs.python.org
Fri Sep 2 08:20:12 CEST 2011


Armin Rigo <arigo at users.sourceforge.net> added the comment:

That's why I don't really know which concept is the best: the core of transactionmodule.c is just about one page in length, so there are only so many ways to split this code between CPython and the module...

Attached the latest suggestion.  I am also fine if this function is not called _PyEval_SuspendOtherThreads() but _PyEval_InternalUseOnlyYouShouldReallyNotUseThis()...

----------
Added file: http://bugs.python.org/file23086/stm3.diff

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


More information about the Python-bugs-list mailing list