Searched refs:interpreter_lock (Results 1 – 2 of 2) sorted by relevance
173 auto interpreter_lock = m_interpreter->AcquireInterpreterLock(); in UpdateThreadList() local315 auto interpreter_lock = m_interpreter->AcquireInterpreterLock(); in CreateRegisterContextForThread() local402 auto interpreter_lock = m_interpreter->AcquireInterpreterLock(); in CreateThread() local
238 static PyThread_type_lock interpreter_lock = 0; /* This is the GIL */ variable245 return interpreter_lock != 0; in PyEval_ThreadsInitialized()251 if (interpreter_lock) in PyEval_InitThreads()253 interpreter_lock = PyThread_allocate_lock(); in PyEval_InitThreads()254 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_InitThreads()261 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_AcquireLock()267 PyThread_release_lock(interpreter_lock); in PyEval_ReleaseLock()276 assert(interpreter_lock); in PyEval_AcquireThread()277 PyThread_acquire_lock(interpreter_lock, 1); in PyEval_AcquireThread()290 PyThread_release_lock(interpreter_lock); in PyEval_ReleaseThread()[all …]