Home
last modified time | relevance | path

Searched refs:shutdown_future (Results 1 – 1 of 1) sorted by last modified time

/unit/src/python/
H A Dnxt_python_asgi_lifespan.c28 PyObject *shutdown_future; member
189 lifespan->shutdown_future = NULL; in nxt_py_asgi_lifespan_target_startup()
379 lifespan->shutdown_future = PyObject_CallObject(ctx_data->loop_create_future, in nxt_py_asgi_lifespan_target_shutdown()
381 if (nxt_slow_path(lifespan->shutdown_future == NULL)) { in nxt_py_asgi_lifespan_target_shutdown()
388 lifespan->shutdown_future, NULL); in nxt_py_asgi_lifespan_target_shutdown()
396 Py_CLEAR(lifespan->shutdown_future); in nxt_py_asgi_lifespan_target_shutdown()
584 &lifespan->shutdown_future); in nxt_py_asgi_lifespan_send_shutdown()
630 if (lifespan->shutdown_future != NULL) { in nxt_py_asgi_lifespan_done()
631 future = lifespan->shutdown_future; in nxt_py_asgi_lifespan_done()
632 lifespan->shutdown_future = NULL; in nxt_py_asgi_lifespan_done()