Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dasync.c47 int kq; in uv__kqueue_runtime_detection() local
53 kq = kqueue(); in uv__kqueue_runtime_detection()
58 if (kevent(kq, ev, 2, ev, 1, &timeout) < 1 || in uv__kqueue_runtime_detection()
65 uv__close(kq); in uv__kqueue_runtime_detection()
H A Dstream.c287 int kq; in uv__stream_try_select() local
293 kq = kqueue(); in uv__stream_try_select()
294 if (kq == -1) { in uv__stream_try_select()
306 ret = kevent(kq, filter, 1, events, 1, &timeout); in uv__stream_try_select()
309 uv__close(kq); in uv__stream_try_select()

Completed in 7 milliseconds