Antoine Pitrou <pit...@free.fr> added the comment: > Yeah, I know. My patch should be updated if #11863 is fixed before this issue. > > Updated patch: > - add 'pthread_version' key to threading._info() > - test_os uses threading._info() to check if we are using linuxthreads
The path which sets "pthread_version" should be inside "#ifdef _POSIX_THREADS". Also, some comments about the doc: - you need a "versionadded" tag - "use_semaphores" should explain that these semaphores are used for locks; also the alternative is "use mutexes and condition variables", not "use mutexes" - you should not document unsupported platform names ("lwp", etc.); they are already disabled (#error) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11223> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com