summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-05-13 15:18:45 +0000
committerIvan Maidanski <ivmai@mail.ru>2012-11-14 13:50:00 +0400
commit12a8b4cb59eae4c0a8d9f2a13fc473d546965206 (patch)
tree5a83fad93f5df3ff01b687f49dd86fc7dd16cbde
parentc30b3749a27a58760850d47b347c1c06d206b483 (diff)
downloadbdwgc-12a8b4cb59eae4c0a8d9f2a13fc473d546965206.tar.gz
2011-05-13 Ivan Maidanski <ivmai@mail.ru>
* tests/threadkey_test.c (LIMIT): Use smaller value (don't create more than 30 in parallel by default). --HG-- branch : bdwgc
-rw-r--r--ChangeLog5
-rwxr-xr-xtests/threadkey_test.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index a5ffb560..208daeff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-05-13 Ivan Maidanski <ivmai@mail.ru>
+ * tests/threadkey_test.c (LIMIT): Use smaller value (don't create
+ more than 30 in parallel by default).
+
+2011-05-13 Ivan Maidanski <ivmai@mail.ru>
+
* tests/threadkey_test.c (key_once, main): Work around for Solaris
PTHREAD_ONCE_INIT.
* tests/threadkey_test.c (LIMIT): Use smaller value for Solaris.
diff --git a/tests/threadkey_test.c b/tests/threadkey_test.c
index 5bf18de0..0ae94bb1 100755
--- a/tests/threadkey_test.c
+++ b/tests/threadkey_test.c
@@ -46,11 +46,7 @@ void make_key (void)
}
#ifndef LIMIT
-# ifdef GC_SOLARIS_THREADS
-# define LIMIT 40
-# else
-# define LIMIT 50
-# endif
+# define LIMIT 30
#endif
int main (void)