Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_wsgi.c50 PyThreadState *thread_state; member
281 pctx->thread_state = PyEval_SaveThread(); in nxt_python_wsgi_run()
285 PyEval_RestoreThread(pctx->thread_state); in nxt_python_wsgi_run()
315 PyEval_RestoreThread(pctx->thread_state); in nxt_python_request_handler()
439 pctx->thread_state = PyEval_SaveThread(); in nxt_python_request_handler()
446 PyEval_RestoreThread(pctx->thread_state); in nxt_python_request_handler()
450 pctx->thread_state = PyEval_SaveThread(); in nxt_python_request_handler()
H A Dnxt_python.c587 PyThreadState *thread_state; in nxt_python_join_threads() local
594 thread_state = PyEval_SaveThread(); in nxt_python_join_threads()
614 PyEval_RestoreThread(thread_state); in nxt_python_join_threads()