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:
parent
d2101b0b9f
commit
7a93b12f1d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user