Home
last modified time | relevance | path

Searched refs:gilstate_counter (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Python/
Dpystate.c172 tstate->gilstate_counter = 0; in new_threadstate()
530 assert(t->gilstate_counter == 0); in _PyGILState_Init()
574 tstate->gilstate_counter = 1; in _PyGILState_NoteThreadState()
609 tcur->gilstate_counter = 0; in PyGILState_Ensure()
625 ++tcur->gilstate_counter; in PyGILState_Ensure()
653 --tcur->gilstate_counter; in PyGILState_Release()
654 assert(tcur->gilstate_counter >= 0); /* illegal counter value */ in PyGILState_Release()
659 if (tcur->gilstate_counter == 0) { in PyGILState_Release()
/external/python/cpython3/Python/
Dpystate.c373 tstate->gilstate_counter = 0; in new_threadstate()
915 assert(t->gilstate_counter == 0); in _PyGILState_Init()
1003 tstate->gilstate_counter = 1; in _PyGILState_NoteThreadState()
1059 tcur->gilstate_counter = 0; in PyGILState_Ensure()
1075 ++tcur->gilstate_counter; in PyGILState_Ensure()
1103 --tcur->gilstate_counter; in PyGILState_Release()
1104 assert(tcur->gilstate_counter >= 0); /* illegal counter value */ in PyGILState_Release()
1109 if (tcur->gilstate_counter == 0) { in PyGILState_Release()
/external/python/cpython2/Include/
Dpystate.h93 int gilstate_counter; member
/external/python/cpython3/Include/
Dpystate.h254 int gilstate_counter; member