aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c
index 19a378fb..e64005d1 100644
--- a/modules/benchmark.c
+++ b/modules/benchmark.c
@@ -131,8 +131,8 @@ gdouble benchmark_parallel_for(guint start, guint end,
if (pbt->end > end)
pbt->end = end;
- thread = g_thread_create((GThreadFunc) benchmark_parallel_for_dispatcher,
- pbt, TRUE, NULL);
+ thread = g_thread_new("dispatcher",
+ (GThreadFunc)benchmark_parallel_for_dispatcher, pbt);
threads = g_slist_prepend(threads, thread);
DEBUG("thread %d launched as context %p", thread_number, thread);