Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_asgi_lifespan.c77 PyObject **target_lifespans; in nxt_py_asgi_lifespan_startup() local
83 target_lifespans = nxt_unit_malloc(NULL, size); in nxt_py_asgi_lifespan_startup()
84 if (nxt_slow_path(target_lifespans == NULL)) { in nxt_py_asgi_lifespan_startup()
89 memset(target_lifespans, 0, size); in nxt_py_asgi_lifespan_startup()
99 target_lifespans[i] = lifespan; in nxt_py_asgi_lifespan_startup()
102 ctx_data->target_lifespans = target_lifespans; in nxt_py_asgi_lifespan_startup()
289 lifespan = (nxt_py_asgi_lifespan_t *)ctx_data->target_lifespans[i]; in nxt_py_asgi_lifespan_shutdown()
297 nxt_unit_free(NULL, ctx_data->target_lifespans); in nxt_py_asgi_lifespan_shutdown()
H A Dnxt_python_asgi.h36 PyObject **target_lifespans; member