From b85f37f22e1eaaf781e937e34a0d33fdb007aecc Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 7 Dec 2017 00:39:04 +0300 Subject: [PATCH] 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. --- tests/test_malloc.c | 2 +- tests/test_stack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1