From: Julian Seward Date: Mon, 17 Jun 2002 14:25:00 +0000 (+0000) Subject: Increase thread limits a bit. X-Git-Tag: svn/VALGRIND_1_0_3~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fca23eae183bfa20d2225082c3355c881ce85efc;p=thirdparty%2Fvalgrind.git Increase thread limits a bit. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@432 --- diff --git a/coregrind/vg_include.h b/coregrind/vg_include.h index 6c28cd4e0d..182cb3cb4e 100644 --- a/coregrind/vg_include.h +++ b/coregrind/vg_include.h @@ -137,11 +137,11 @@ scheduler algorithms is surely O(N) in the number of threads, since that's simple, at least. And (in practice) we hope that most programs do not need many threads. */ -#define VG_N_THREADS 20 +#define VG_N_THREADS 50 /* Maximum number of pthread keys available. Again, we start low until the need for a higher number presents itself. */ -#define VG_N_THREAD_KEYS 10 +#define VG_N_THREAD_KEYS 50 /* Number of file descriptors that can simultaneously be waited on for I/O to complete. Perhaps this should be the same as VG_N_THREADS diff --git a/vg_include.h b/vg_include.h index 6c28cd4e0d..182cb3cb4e 100644 --- a/vg_include.h +++ b/vg_include.h @@ -137,11 +137,11 @@ scheduler algorithms is surely O(N) in the number of threads, since that's simple, at least. And (in practice) we hope that most programs do not need many threads. */ -#define VG_N_THREADS 20 +#define VG_N_THREADS 50 /* Maximum number of pthread keys available. Again, we start low until the need for a higher number presents itself. */ -#define VG_N_THREAD_KEYS 10 +#define VG_N_THREAD_KEYS 50 /* Number of file descriptors that can simultaneously be waited on for I/O to complete. Perhaps this should be the same as VG_N_THREADS