aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2019-02-25 12:26:58 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2019-03-08 08:40:06 +0100
commit7262dd049018b57a2a12b7fbcef8def0b083db20 (patch)
treee4186323ce840ce9d8e735feb41136dcad4e67b5 /docs/src
parent45a49688c86bd2afd0fe9e2e85b86ac31ee1e02e (diff)
downloadlibuv-7262dd049018b57a2a12b7fbcef8def0b083db20.tar.gz
libuv-7262dd049018b57a2a12b7fbcef8def0b083db20.zip
doc: add note about uv_run() not being reentrant
PR-URL: https://github.com/libuv/libuv/pull/2208 Refs: https://github.com/libuv/help/issues/81 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/loop.rst2
1 files changed, 2 insertions, 0 deletions
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