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.c25 PyObject *startup_future; member
148 lifespan->startup_future = PyObject_CallObject(ctx_data->loop_create_future, in nxt_py_asgi_lifespan_target_startup()
150 if (nxt_slow_path(lifespan->startup_future == NULL)) { in nxt_py_asgi_lifespan_target_startup()
245 lifespan->startup_future, NULL); in nxt_py_asgi_lifespan_target_startup()
265 Py_CLEAR(lifespan->startup_future); in nxt_py_asgi_lifespan_target_startup()
485 &lifespan->startup_future); in nxt_py_asgi_lifespan_send_startup()
573 if (lifespan->startup_future != NULL) { in nxt_py_asgi_lifespan_done()
574 future = lifespan->startup_future; in nxt_py_asgi_lifespan_done()
575 lifespan->startup_future = NULL; in nxt_py_asgi_lifespan_done()