From: Ondřej Surý Date: Tue, 5 Aug 2025 09:24:35 +0000 (+0200) Subject: fix: test: Add support for small stack size for threads X-Git-Tag: v9.21.11~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f635bf4df8e592d18f86f9445d1c27e4b1792a0b;p=thirdparty%2Fbind9.git fix: test: Add support for small stack size for threads When running the isc_quota unit test with less than usual amount of RAM (e.g. in a CI for architectures with 32 bits of address space), the pthread_create() function fails with the "Resource temporarily unavailable (11)" error code. Add functions to get and set the thread stack size (if requested), and use these to set the thread stack size to smaller value in the isc_quota unit test. Merge branch 'aram/isc-thread-stack-size-small' into 'main' See merge request isc-projects/bind9!10778 --- f635bf4df8e592d18f86f9445d1c27e4b1792a0b