Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_asgi_lifespan.c158 lifespan->disabled = 0; in nxt_py_asgi_lifespan_target_startup()
160 lifespan->startup_sent = 0; in nxt_py_asgi_lifespan_target_startup()
190 ret = lifespan; in nxt_py_asgi_lifespan_target_startup()
254 if (lifespan->startup_sent == 1 || lifespan->disabled) { in nxt_py_asgi_lifespan_target_startup()
255 Py_INCREF(lifespan); in nxt_py_asgi_lifespan_target_startup()
257 ret = lifespan; in nxt_py_asgi_lifespan_target_startup()
273 Py_DECREF(lifespan); in nxt_py_asgi_lifespan_target_startup()
311 if (nxt_slow_path(lifespan == NULL || lifespan->disabled)) { in nxt_py_asgi_lifespan_target_shutdown()
389 if (lifespan->shutdown_called && !lifespan->shutdown_received) { in nxt_py_asgi_lifespan_receive()
518 Py_INCREF(lifespan); in nxt_py_asgi_lifespan_send_()
[all …]