summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-04-01 12:51:58 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-04-01 12:51:58 +0200
commit604bb5a3ed16403d87fde89b2096058caac12760 (patch)
tree2934e93396ee9de762ae6ba11ebf46c91a54ebeb /tests
parent53945f7fa4249557bacc6597758dc71bc365533e (diff)
downloadwolfbones-604bb5a3ed16403d87fde89b2096058caac12760.tar.gz
wolfbones-604bb5a3ed16403d87fde89b2096058caac12760.tar.bz2
adapted values in mutex test to fit slow platforms
Diffstat (limited to 'tests')
-rw-r--r--tests/threads/test_counter_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/threads/test_counter_mutex.c b/tests/threads/test_counter_mutex.c
index 3872473..4b7324c 100644
--- a/tests/threads/test_counter_mutex.c
+++ b/tests/threads/test_counter_mutex.c
@@ -11,9 +11,9 @@
#define NOF_LOOPS 10
#define NOF_THREADS 10
#if USE_MUTEX
-#define NOF_ITERATIONS 1000000
+#define NOF_ITERATIONS 100000
#else
-#define NOF_ITERATIONS 10000000
+#define NOF_ITERATIONS 1000000
#endif
static int counter = 0;