Eric Snow <ericsnowcurren...@gmail.com> added the comment:

That might work. :)

There are two key problems under subinterpreters that do not share the GIL:

* races on refcount operations
* cache thrashing due to refcount operations (under multi-core threads)

A lock would certainly mitigate the first problem.  I'm not sure how much the 
second would actually be a problem.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to