thrdpool: retry failed thread starts while items wait

Verified in test 3306

Closes #22303
This commit is contained in:
Graham Campbell 2026-07-12 03:58:19 +01:00 committed by Daniel Stenberg
parent dfc01ea2a3
commit 4dc236a109
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 234 additions and 4 deletions

23
tests/data/test3306 Normal file
View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
unittest
threads
</keywords>
</info>
# Client-side
<client>
<features>
unittest
Debug
</features>
<setenv>
CURL_DBG_THRDPOOL_FAIL_STARTS=5
</setenv>
<name>
thrdqueue retries failed thread starts on receive
</name>
</client>
</testcase>