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
285 pctx->thread_state = PyEval_SaveThread(); in nxt_python_wsgi_run()
289 PyEval_RestoreThread(pctx->thread_state); in nxt_python_wsgi_run()
319 PyEval_RestoreThread(pctx->thread_state); in nxt_python_request_handler()
443 pctx->thread_state = PyEval_SaveThread(); in nxt_python_request_handler()
450 PyEval_RestoreThread(pctx->thread_state); in nxt_python_request_handler()
454 pctx->thread_state = PyEval_SaveThread(); in nxt_python_request_handler()
H A Dnxt_python.c585 PyThreadState *thread_state; in nxt_python_join_threads() local
592 thread_state = PyEval_SaveThread(); in nxt_python_join_threads()
612 PyEval_RestoreThread(thread_state); in nxt_python_join_threads()