From ec24bfac194419fae2b66aa2bb0d8d9d2cb4547a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 31 Mar 2013 20:02:24 +0200 Subject: [PATCH] include: update uv_backend_fd() documentation uv_run_once() is no more, replace with uv_run(UV_RUN_NOWAIT). Fixes #759. --- include/uv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uv.h b/include/uv.h index 553fc133..dd836131 100644 --- a/include/uv.h +++ b/include/uv.h @@ -294,8 +294,8 @@ UV_EXTERN uint64_t uv_now(uv_loop_t*); * Get backend file descriptor. Only kqueue, epoll and event ports are * supported. * - * This can be used in conjunction with uv_run_once() to poll in one thread and - * run the event loop's event callbacks in another. + * This can be used in conjunction with `uv_run(loop, UV_RUN_NOWAIT)` to + * poll in one thread and run the event loop's event callbacks in another. * * Useful for embedding libuv's event loop in another event loop. * See test/test-embed.c for an example.