Antoine Pitrou <pit...@free.fr> added the comment: > > At that time, the Pythread_* functions were still in use by the GIL > > implementation, and it made a difference judging by the commit message. > > Hmm. And if some application uses thread.lock heavily, won't it still > make a difference?
An acquire/release pair is less than one microsecond here. Compared to the evaluation overhead of Python code, it seems not very significant. That said, if someone can guarantee than the complex approach is correct, why not. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11618> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com