Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_asgi.c207 PyObject *asyncio, *loop, *event_loop, *obj; in nxt_python_asgi_ctx_data_alloc() local
234 loop = NULL; in nxt_python_asgi_ctx_data_alloc()
261 loop = PyObject_CallObject(event_loop, NULL); in nxt_python_asgi_ctx_data_alloc()
262 if (nxt_slow_path(loop == NULL)) { in nxt_python_asgi_ctx_data_alloc()
269 obj = PyObject_GetAttrString(loop, handlers[i].key); in nxt_python_asgi_ctx_data_alloc()
307 Py_DECREF(loop); in nxt_python_asgi_ctx_data_alloc()
318 Py_XDECREF(loop); in nxt_python_asgi_ctx_data_alloc()
/unit/src/nodejs/unit-http/
H A Dunit.cpp69 err = uv_timer_init(poll.loop, &timer); in process_port_msg()
475 uv_loop_t *loop; in add_port() local
488 status = napi_get_uv_event_loop(obj->env(), &loop); in add_port()
496 err = uv_poll_init(loop, &data->poll, port->in_fd); in add_port()
/unit/test/python/delayed/
H A Dasgi.py25 loop = asyncio.get_event_loop()
28 future = loop.create_future()
29 loop.call_later(n, future.set_result, None)
/unit/test/ruby/input_gets_all/
H A Dconfig.ru4 loop do