STINNER Victor <vstin...@redhat.com> added the comment: Oh, it seems like I was wrong in my previous comment. Python 2.7 code base is already designed to support native TLS. It's just that we only implement native TLS on Windows. So yeah, it seems doable to implement native TLS for pthread.
History of Py_HAVE_NATIVE_TLS: commit 8d98d2cb95ac37147a4de5a119869211e8351324 Author: Mark Hammond <mhamm...@skippinet.com.au> Date: Sat Apr 19 15:41:53 2003 +0000 New PyGILState_ API - implements pep 311, from patch 684256. commit 00f2df495a6fcb40d70243c34f296f26ccc72719 Author: Kristján Valur Jónsson <krist...@ccpgames.com> Date: Fri Jan 9 20:03:27 2009 +0000 Issue 3582. Improved thread support and TLS for Windows ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29640> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com