Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_asgi_lifespan.c26 PyObject *shutdown_future; member
164 lifespan->shutdown_future = NULL; in nxt_py_asgi_lifespan_target_startup()
337 lifespan->shutdown_future = PyObject_CallObject(ctx_data->loop_create_future, in nxt_py_asgi_lifespan_target_shutdown()
339 if (nxt_slow_path(lifespan->shutdown_future == NULL)) { in nxt_py_asgi_lifespan_target_shutdown()
346 lifespan->shutdown_future, NULL); in nxt_py_asgi_lifespan_target_shutdown()
354 Py_CLEAR(lifespan->shutdown_future); in nxt_py_asgi_lifespan_target_shutdown()
542 &lifespan->shutdown_future); in nxt_py_asgi_lifespan_send_shutdown()
588 if (lifespan->shutdown_future != NULL) { in nxt_py_asgi_lifespan_done()
589 future = lifespan->shutdown_future; in nxt_py_asgi_lifespan_done()
590 lifespan->shutdown_future = NULL; in nxt_py_asgi_lifespan_done()