From 390e66390d95e36cd30d7593485e13932586b743 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 15 Oct 2009 11:53:53 +0000 Subject: [PATCH] Give a name to the dopar worker threads since logging from them segfault otherwise git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6779 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/xbt_synchro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/xbt_synchro.c b/src/xbt/xbt_synchro.c index 19de24c0d7..7aa1cc098d 100644 --- a/src/xbt/xbt_synchro.c +++ b/src/xbt/xbt_synchro.c @@ -39,7 +39,7 @@ void xbt_dynar_dopar(xbt_dynar_t datas, void_f_int_pvoid_t function) { w->function = function; w->rank=cursor; xbt_dynar_push(workers,&w); - w->worker = xbt_thread_create(NULL,worker_wrapper,w); + w->worker = xbt_thread_create("dopar worker",worker_wrapper,w); } /* wait them all */ xbt_dynar_free(&workers); -- 2.20.1