Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_asgi_lifespan.c27 PyObject *startup_future; member
173 lifespan->startup_future = PyObject_CallObject(ctx_data->loop_create_future, in nxt_py_asgi_lifespan_target_startup()
175 if (nxt_slow_path(lifespan->startup_future == NULL)) { in nxt_py_asgi_lifespan_target_startup()
287 lifespan->startup_future, NULL); in nxt_py_asgi_lifespan_target_startup()
307 Py_CLEAR(lifespan->startup_future); in nxt_py_asgi_lifespan_target_startup()
527 &lifespan->startup_future); in nxt_py_asgi_lifespan_send_startup()
615 if (lifespan->startup_future != NULL) { in nxt_py_asgi_lifespan_done()
616 future = lifespan->startup_future; in nxt_py_asgi_lifespan_done()
617 lifespan->startup_future = NULL; in nxt_py_asgi_lifespan_done()