Searched refs:_PyOS_ReadlineLock (Results 1 – 1 of 1) sorted by relevance
27 static PyThread_type_lock _PyOS_ReadlineLock = NULL; variable188 if (_PyOS_ReadlineLock == NULL) { in PyOS_Readline()189 _PyOS_ReadlineLock = PyThread_allocate_lock(); in PyOS_Readline()196 PyThread_acquire_lock(_PyOS_ReadlineLock, 1); in PyOS_Readline()212 PyThread_release_lock(_PyOS_ReadlineLock); in PyOS_Readline()