From 06b2f13bad0db043a10952f2a16258c236ff451f Mon Sep 17 00:00:00 2001 From: twosee Date: Tue, 28 Apr 2020 23:16:04 +0200 Subject: [PATCH] doc: add uv_replace_allocator thread safety warning PR-URL: https://github.com/libuv/libuv/pull/2815/ Reviewed-By: Anna Henningsen Reviewed-By: Ben Noordhuis --- docs/src/misc.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/misc.rst b/docs/src/misc.rst index b3cf43ea9..9c1570633 100644 --- a/docs/src/misc.rst +++ b/docs/src/misc.rst @@ -233,6 +233,8 @@ API sure the allocator is changed while no memory was allocated with the previous allocator, or that they are compatible. + .. warning:: Allocator must be thread-safe. + .. c:function:: void uv_library_shutdown(void); .. versionadded:: 1.38.0