Increase the default number of threads to 16 in test_malloc/stack
authorIvan Maidanski <ivmai@mail.ru>
Wed, 6 Dec 2017 21:39:04 +0000 (00:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 22 Dec 2017 07:42:29 +0000 (10:42 +0300)
* 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
tests/test_stack.c

index 95bd1fb..111e231 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef DEFAULT_NTHREADS
 # ifdef HAVE_MMAP
-#   define DEFAULT_NTHREADS 10
+#   define DEFAULT_NTHREADS 16
 # else
 #   define DEFAULT_NTHREADS 3
 # endif
index 66ed50a..5507b54 100644 (file)
@@ -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