[issue8020] Crash in Py_ADDRESS_IN_RANGE macro
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Feb 25 23:17:03 CET 2010
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
No, the description above says it: only the first thread calls Py_ADDRESS_IN_RANGE. The other thread happens to modify the memory at the beginning of the page, just at the address (POOL)->arenaindex.
Could we use an "inline" function instead of a macro? I suppose the compiler would optimize it and generate code as fast as a macro.
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8020>
_______________________________________
More information about the Python-bugs-list
mailing list