aboutsummaryrefslogtreecommitdiff
path: root/test/task.h
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-11-22 15:30:56 -0500
committercjihrig <cjihrig@gmail.com>2019-11-25 12:13:39 -0500
commit8c73eee23f15ef11b6ef3b8f8113f78a95794e47 (patch)
tree225d5ee07b6dcca4ebbf2665d5276e999bbea903 /test/task.h
parent96cfa783a24e154fd3d3124e159aec277537f494 (diff)
downloadlibuv-8c73eee23f15ef11b6ef3b8f8113f78a95794e47.tar.gz
libuv-8c73eee23f15ef11b6ef3b8f8113f78a95794e47.zip
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 <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'test/task.h')
-rw-r--r--test/task.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/task.h b/test/task.h
index e763f89f..bc7b5336 100644
--- a/test/task.h
+++ b/test/task.h
@@ -131,9 +131,6 @@ typedef enum {
int run_helper_##name(void); \
int run_helper_##name(void)
-/* Pause the calling thread for a number of milliseconds. */
-void uv_sleep(int msec);
-
/* Format big numbers nicely. WARNING: leaks memory. */
const char* fmt(double d);