Home
last modified time | relevance | path

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

/third_party/libuv/test/
Dtest-poll-multiple-handles.c48 uv_poll_t first_poll_handle, second_poll_handle; in TEST_IMPL() local
65 ASSERT(0 == uv_poll_init_socket(uv_default_loop(), &second_poll_handle, sock)); in TEST_IMPL()
76 ASSERT(uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb) == UV_EEXIST); in TEST_IMPL()
81 ASSERT(0 == uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb)); in TEST_IMPL()
86 uv_unref((uv_handle_t*) &second_poll_handle); in TEST_IMPL()
89 uv_ref((uv_handle_t*) &second_poll_handle); in TEST_IMPL()
91 ASSERT(uv_is_active((uv_handle_t*) &second_poll_handle)); in TEST_IMPL()
92 uv_close((uv_handle_t*) &second_poll_handle, close_cb); in TEST_IMPL()