STINNER Victor <vstinner at redhat.com> added the comment: Note: PTHREAD_MUTEX_INITIALIZER can be used to statically initialize a mutex. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue31473> _______________________________________