From 8c73eee23f15ef11b6ef3b8f8113f78a95794e47 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 22 Nov 2019 15:30:56 -0500 Subject: unix,win: add uv_sleep() This commit exposes the uv_sleep() function that previously only existed in the test runner. PR-URL: https://github.com/libuv/libuv/pull/2548 Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau --- docs/src/misc.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/src') diff --git a/docs/src/misc.rst b/docs/src/misc.rst index 15d01633..3264973b 100644 --- a/docs/src/misc.rst +++ b/docs/src/misc.rst @@ -694,3 +694,9 @@ API are not used and can be set to `NULL`. .. versionadded:: 1.33.0 + +.. c:function:: void uv_sleep(unsigned int msec) + + Causes the calling thread to sleep for `msec` milliseconds. + + .. versionadded:: 1.34.0 -- cgit v1.2.3