diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2020-08-06 10:18:27 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2020-08-06 10:18:29 +0200 |
commit | e44781a16155f2ed227aa32661edeeecbbf573c5 (patch) | |
tree | 1e2947b9350be0b53b4a05b810ae54d125b243f3 /docs/src | |
parent | 87f076515937345fda1a1dbc598f34e65e1b81c7 (diff) | |
download | libuv-e44781a16155f2ed227aa32661edeeecbbf573c5.tar.gz libuv-e44781a16155f2ed227aa32661edeeecbbf573c5.zip |
test: fix thread race in process_title_threadsafe
Libuv calls uv__process_title_cleanup() on shutdown, which raced with
one of the threads from the test that calls uv_get_process_title() in
an infinite loop. Change the test to properly shut down the thread
before exiting.
PR-URL: https://github.com/libuv/libuv/pull/2946
Refs: https://github.com/libuv/libuv/pull/2853#issuecomment-665259082
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions