diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-11-30 00:09:42 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2017-11-30 02:24:22 +0100 |
commit | 49616e4e17bf3e9417992cf177e5bccc1a8cc891 (patch) | |
tree | 9ef73873699fc98ef94b2459e93514b8d6c12036 /test/test-loop-close.c | |
parent | c845245e43d23fbf65490dea94bcab2b51d37e31 (diff) | |
download | libuv-49616e4e17bf3e9417992cf177e5bccc1a8cc891.tar.gz libuv-49616e4e17bf3e9417992cf177e5bccc1a8cc891.zip |
Revert "unix,win: wait for threads to start"
Reverted for suspected regressions in the Node.js test suite on Windows.
Also revert e99ac4c1f4 ("test: add threadpool init/teardown test") since
it depends on 5486f6bd51.
This reverts commit 5486f6bd517382284109ff2f5355b61de417c4e8.
This reverts commit e99ac4c1f4eb3b049a9e147cb53a666506858121.
PR-URL: https://github.com/libuv/libuv/pull/1656
Refs: https://github.com/libuv/libuv/pull/1639
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/test-loop-close.c')
-rw-r--r-- | test/test-loop-close.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/test-loop-close.c b/test/test-loop-close.c index f0f3e627..971c9d72 100644 --- a/test/test-loop-close.c +++ b/test/test-loop-close.c @@ -55,21 +55,3 @@ TEST_IMPL(loop_close) { return 0; } - -static void loop_instant_close_work_cb(uv_work_t* req) { -} - -static void loop_instant_close_after_work_cb(uv_work_t* req, int status) { -} - -TEST_IMPL(loop_instant_close) { - static uv_loop_t loop; - static uv_work_t req; - ASSERT(0 == uv_loop_init(&loop)); - ASSERT(0 == uv_queue_work(&loop, - &req, - loop_instant_close_work_cb, - loop_instant_close_after_work_cb)); - MAKE_VALGRIND_HAPPY(); - return 0; -} |