include: update uv_backend_fd() documentation

uv_run_once() is no more, replace with uv_run(UV_RUN_NOWAIT).

Fixes #759.
This commit is contained in:
Ben Noordhuis 2013-03-31 20:02:24 +02:00
parent 9e90cdeae7
commit ec24bfac19

View File

@ -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.