Jim Jewett <jimjjew...@gmail.com> added the comment: http://hg.python.org/cpython/file/0f114b855824/Python/pystate.c#l25
#ifdef WITH_THREAD #include "pythread.h" static PyThread_type_lock head_mutex = NULL; /* Protects interp->tstate_head */ #define HEAD_INIT() (void)(head_mutex || (head_mutex = PyThread_allocate_lock())) #define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK) #define HEAD_UNLOCK() PyThread_release_lock(head_mutex) #ifdef __cplusplus extern "C" { #endif ---------- priority: normal -> low stage: -> needs patch type: -> compile error _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14569> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com