From 7262dd049018b57a2a12b7fbcef8def0b083db20 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 25 Feb 2019 12:26:58 +0100 Subject: [PATCH] doc: add note about uv_run() not being reentrant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/libuv/libuv/pull/2208 Refs: https://github.com/libuv/help/issues/81 Reviewed-By: Colin Ihrig Reviewed-By: Saúl Ibarra Corretgé --- docs/src/loop.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/loop.rst b/docs/src/loop.rst index 86a99adf..d642ac1d 100644 --- a/docs/src/loop.rst +++ b/docs/src/loop.rst @@ -107,6 +107,8 @@ API or requests left), or non-zero if more callbacks are expected (meaning you should run the event loop again sometime in the future). + :c:func:`uv_run` is not reentrant. It must not be called from a callback. + .. c:function:: int uv_loop_alive(const uv_loop_t* loop) Returns non-zero if there are referenced active handles, active