diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2016-08-23 11:50:58 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2016-10-14 02:02:47 +0200 |
commit | 39baaa58b70b35b75d7bc15ff266678ebd869c1c (patch) | |
tree | ac5f6e20a9a2ed5ca5bcf9559c90f2e7a6484905 /docs/src | |
parent | e58f7535c8e7c318adbf45973008a4f8d81eaed7 (diff) | |
download | libuv-39baaa58b70b35b75d7bc15ff266678ebd869c1c.tar.gz libuv-39baaa58b70b35b75d7bc15ff266678ebd869c1c.zip |
test: make threadpool_cancel_single deterministic
Saturate the thread pool before trying to post-and-cancel the work
request. Before this commit we simply posted requests in a loop,
in the (sometimes idle) hope that one would get queued up instead
of being dispatched right away.
PR-URL: https://github.com/libuv/libuv/pull/1014
Refs: https://github.com/libuv/libuv/pull/1010
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions