diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-12-06 23:47:38 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2017-12-06 23:47:38 +0100 |
commit | 647fbc026e367cbf0ca2df2b0f72f668e41dccdf (patch) | |
tree | 0db3ed4e5feeb7700f07170875cc2130d4d30982 /test/test-tcp-bind-error.c | |
parent | 8a6d1b32c5e3701051f89b4b61559c1cabb5e914 (diff) | |
download | libuv-647fbc026e367cbf0ca2df2b0f72f668e41dccdf.tar.gz libuv-647fbc026e367cbf0ca2df2b0f72f668e41dccdf.zip |
unix,win: wait for threads to start
It appears that, at least on Windows, the process terminates abnormally
when the program exits before the worker threads complete initializing.
Wait for the threads to spin up in `init_threads()` to avoid that.
PR-URL: https://github.com/libuv/libuv/pull/1662
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jamie Davis <davisjam@vt.edu>
Diffstat (limited to 'test/test-tcp-bind-error.c')
0 files changed, 0 insertions, 0 deletions