Searched refs:_PyOS_ReadlineLock (Results 1 – 3 of 3) 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()
23 static PyThread_type_lock _PyOS_ReadlineLock = NULL; variable338 if (_PyOS_ReadlineLock == NULL) { in PyOS_Readline()339 _PyOS_ReadlineLock = PyThread_allocate_lock(); in PyOS_Readline()340 if (_PyOS_ReadlineLock == NULL) { in PyOS_Readline()348 PyThread_acquire_lock(_PyOS_ReadlineLock, 1); in PyOS_Readline()362 PyThread_release_lock(_PyOS_ReadlineLock); in PyOS_Readline()
41 _PyOS_ReadlineLock