Home
last modified time | relevance | path

Searched refs:interpreter_lock (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
DOperatingSystemPython.cpp173 auto interpreter_lock = m_interpreter->AcquireInterpreterLock(); in UpdateThreadList() local
315 auto interpreter_lock = m_interpreter->AcquireInterpreterLock(); in CreateRegisterContextForThread() local
402 auto interpreter_lock = m_interpreter->AcquireInterpreterLock(); in CreateThread() local
/external/python/cpython2/Python/
Dceval.c238 static PyThread_type_lock interpreter_lock = 0; /* This is the GIL */ variable
245 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 …]