From: Ivan Maidanski Date: Wed, 6 Dec 2017 21:39:04 +0000 (+0300) Subject: Increase the default number of threads to 16 in test_malloc/stack X-Git-Tag: v7.6.2~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b85f37f22e1eaaf781e937e34a0d33fdb007aecc;p=libatomic_ops Increase the default number of threads to 16 in test_malloc/stack * tests/test_malloc.c [!DEFAULT_NTHREADS && HAVE_MMAP] (DEFAULT_NTHREADS): Change the value from 10 to 16. * tests/test_stack.c [!DEFAULT_NTHREADS] (DEFAULT_NTHREADS): Change the value from 4 to 16. --- diff --git a/tests/test_malloc.c b/tests/test_malloc.c index 95bd1fb..111e231 100644 --- a/tests/test_malloc.c +++ b/tests/test_malloc.c @@ -23,7 +23,7 @@ #ifndef DEFAULT_NTHREADS # ifdef HAVE_MMAP -# define DEFAULT_NTHREADS 10 +# define DEFAULT_NTHREADS 16 # else # define DEFAULT_NTHREADS 3 # endif diff --git a/tests/test_stack.c b/tests/test_stack.c index 66ed50a..5507b54 100644 --- a/tests/test_stack.c +++ b/tests/test_stack.c @@ -52,7 +52,7 @@ #endif #ifndef DEFAULT_NTHREADS -# define DEFAULT_NTHREADS 4 /* must be <= MAX_NTHREADS */ +# define DEFAULT_NTHREADS 16 /* must be <= MAX_NTHREADS */ #endif #ifdef NO_TIMES