summaryrefslogtreecommitdiff
path: root/glib/tests/rec-mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/tests/rec-mutex.c')
-rw-r--r--glib/tests/rec-mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/rec-mutex.c b/glib/tests/rec-mutex.c
index d7cd62431..ad38a69a8 100644
--- a/glib/tests/rec-mutex.c
+++ b/glib/tests/rec-mutex.c
@@ -204,7 +204,7 @@ test_mutex_perf (gconstpointer data)
n_threads = c / 256;
depth = c % 256;
- count_to = g_test_perf () ? 100000000 : 1;
+ count_to = g_test_perf () ? 100000000 : n_threads + 1;
for (i = 0; i < n_threads - 1; i++)
threads[i] = g_thread_new ("test", addition_thread, &x);