diff options
author | rayrase <rmartinez2175@eagle.fgcu.edu> | 2017-10-06 22:02:33 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2017-11-01 11:05:50 -0400 |
commit | 7a93b12f1d87dc7e451ab0845a3b236cd1509185 (patch) | |
tree | ad90503dd4fc2a2ee0efe2de29196897ca62237c /docs/src | |
parent | d2101b0b9f00d8d8276a8ce04a7f65c13ffaacfa (diff) | |
download | libuv-7a93b12f1d87dc7e451ab0845a3b236cd1509185.tar.gz libuv-7a93b12f1d87dc7e451ab0845a3b236cd1509185.zip |
doc: mark uv_default_loop() as not thread safe
Fixes: https://github.com/libuv/libuv/issues/1461
PR-URL: https://github.com/libuv/libuv/pull/1590
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/loop.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/loop.rst b/docs/src/loop.rst index 02543171..c63f8139 100644 --- a/docs/src/loop.rst +++ b/docs/src/loop.rst @@ -86,6 +86,9 @@ API should) be closed with :c:func:`uv_loop_close` so the resources associated with it are freed. + .. warning:: + This function is not thread safe. + .. c:function:: int uv_run(uv_loop_t* loop, uv_run_mode mode) This function runs the event loop. It will act differently depending on the |