Home
last modified time | relevance | path

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

/third_party/python/Python/
Dceval_gil.h100 static int gil_created(struct _gil_runtime_state *gil) in gil_created() function
242 assert(gil_created(gil)); in take_gil()
Dceval.c281 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()