From: mquinson Date: Mon, 6 Aug 2007 18:16:27 +0000 (+0000) Subject: name threads to help debugs X-Git-Tag: v3.3~1365 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0ff37f6b97d13786335a6e1397cba376f39afd2d?ds=sidebyside name threads to help debugs git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3995 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/synchro.h b/include/xbt/synchro.h index 92e8d3ae9f..d77af7e043 100644 --- a/include/xbt/synchro.h +++ b/include/xbt/synchro.h @@ -32,7 +32,7 @@ SG_BEGIN_DECL() /** \brief Thread data type (opaque structure) */ typedef struct s_xbt_thread_ *xbt_thread_t; - XBT_PUBLIC(xbt_thread_t) xbt_thread_create(void_f_pvoid_t start_routine,void* param); + XBT_PUBLIC(xbt_thread_t) xbt_thread_create(const char *name, void_f_pvoid_t start_routine,void* param); XBT_PUBLIC(void) xbt_thread_exit(); XBT_PUBLIC(xbt_thread_t) xbt_thread_self(void); /* xbt_thread_join frees the joined thread (ie the XBT wrapper around it, the OS frees the rest) */