Searched refs:gil_created (Results 1 – 2 of 2) sorted by relevance
100 static int gil_created(struct _gil_runtime_state *gil) in gil_created() function242 assert(gil_created(gil)); in take_gil()
281 return gil_created(&interp->ceval.gil); in _PyEval_ThreadsInitialized()295 return gil_created(&runtime->ceval.gil); in _PyEval_ThreadsInitialized()323 assert(!gil_created(gil)); in _PyEval_InitGIL()330 assert(gil_created(gil)); in _PyEval_InitGIL()351 if (!gil_created(gil)) { in _PyEval_FiniGIL()358 assert(!gil_created(gil)); in _PyEval_FiniGIL()492 if (!gil_created(gil)) { in _PyEval_ReInitThreads()534 assert(gil_created(&ceval2->gil)); in PyEval_SaveThread()536 assert(gil_created(&ceval->gil)); in PyEval_SaveThread()