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()
605 tcur->gilstate_counter = 0; in PyGILState_Ensure()
617 ++tcur->gilstate_counter; in PyGILState_Ensure()
637 --tcur->gilstate_counter; in PyGILState_Release()
638 assert(tcur->gilstate_counter >= 0); /* illegal counter value */ in PyGILState_Release()
643 if (tcur->gilstate_counter == 0) { in PyGILState_Release()
/external/python/cpython3/Python/
Dpystate.c197 tstate->gilstate_counter = 0; in new_threadstate()
720 assert(t->gilstate_counter == 0); in _PyGILState_Init()
789 tstate->gilstate_counter = 1; in _PyGILState_NoteThreadState()
843 tcur->gilstate_counter = 0; in PyGILState_Ensure()
855 ++tcur->gilstate_counter; in PyGILState_Ensure()
875 --tcur->gilstate_counter; in PyGILState_Release()
876 assert(tcur->gilstate_counter >= 0); /* illegal counter value */ in PyGILState_Release()
881 if (tcur->gilstate_counter == 0) { in PyGILState_Release()
/external/python/cpython2/Include/
Dpystate.h93 int gilstate_counter; member
/external/python/cpython3/Include/
Dpystate.h108 int gilstate_counter; member