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>
This commit is contained in:
rayrase 2017-10-06 22:02:33 -04:00 committed by cjihrig
parent d2101b0b9f
commit 7a93b12f1d
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

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