Searched refs:PyGILState_UNLOCKED (Results 1 – 7 of 7) sorted by relevance
344 return PyGILState_UNLOCKED; in gil_ensure()353 assert(result == PyGILState_UNLOCKED); in gil_ensure()
634 return current ? PyGILState_LOCKED : PyGILState_UNLOCKED; in PyGILState_Ensure()661 assert(oldstate == PyGILState_UNLOCKED); in PyGILState_Release()671 else if (oldstate == PyGILState_UNLOCKED) in PyGILState_Release()
95 enum {PyGILState_LOCKED, PyGILState_UNLOCKED} enumerator
136 enum {PyGILState_LOCKED, PyGILState_UNLOCKED} enumerator
297 PyGILState_STATE state = PyGILState_UNLOCKED; in _cffi_carefully_make_gil()
1388 return current ? PyGILState_LOCKED : PyGILState_UNLOCKED; in PyGILState_Ensure()1420 assert(oldstate == PyGILState_UNLOCKED); in PyGILState_Release()1431 else if (oldstate == PyGILState_UNLOCKED) in PyGILState_Release()
238 : m_gil_state(PyGILState_UNLOCKED), m_was_already_initialized(false) { in InitializePythonRAII()276 m_gil_state == PyGILState_UNLOCKED ? "un" : ""); in ~InitializePythonRAII()349 m_gil_state == PyGILState_UNLOCKED ? "un" : ""); in InitializeThreadsPrivate()455 m_GILState == PyGILState_UNLOCKED ? "un" : ""); in DoAcquireLock()478 m_GILState == PyGILState_UNLOCKED ? "un" : ""); in DoFreeLock()