Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-async-null-cb.c26 static uv_async_t async_handle; variable
34 uv_async_send(&async_handle); in thread_cb()
40 uv_close((uv_handle_t*) &async_handle, NULL); in check_cb()
53 memset(&async_handle, 0xff, sizeof(async_handle)); in TEST_IMPL()
55 ASSERT_OK(uv_async_init(uv_default_loop(), &async_handle, NULL)); in TEST_IMPL()
H A Dbenchmark-multi-accept.c70 uv_async_t async_handle; member
264 ASSERT_OK(uv_async_init(&loop, &ctx->async_handle, sv_async_cb)); in server_cb()
265 uv_unref((uv_handle_t*) &ctx->async_handle); in server_cb()
284 ctx = container_of(handle, struct server_ctx, async_handle); in sv_async_cb()
286 uv_close((uv_handle_t*) &ctx->async_handle, NULL); in sv_async_cb()
412 uv_async_send(&ctx->async_handle); in test_tcp()

Completed in 18 milliseconds