Unverified Commit 05d65aec authored by
tests: limit number of threads to something reasonable.
Creating 1000 threads with the default stack size of 8 MiB will fail on architectures with a 32-bit address space. Move up the existing THREADS macro and use that instead, but change its definition to 1000 if pointers are larger than 32 bits. Signed-off-by: Harald van Dijk <email@example.com>
Showing with 9 additions and 5 deletions