X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c14a21f58a8a76971928aa344168ad18f8dabbb5..46bade924148e45d2fd389682cddc4c3eabdff96:/src/include/xbt/xbt_os_thread.h diff --git a/src/include/xbt/xbt_os_thread.h b/src/include/xbt/xbt_os_thread.h index b3860d50f2..e42d2ec0f4 100644 --- a/src/include/xbt/xbt_os_thread.h +++ b/src/include/xbt/xbt_os_thread.h @@ -31,6 +31,8 @@ SG_BEGIN_DECL() XBT_PUBLIC(xbt_os_thread_t) xbt_os_thread_create(const char *name,pvoid_f_pvoid_t start_routine,void* param); XBT_PUBLIC(void) xbt_os_thread_exit(int *retcode); XBT_PUBLIC(xbt_os_thread_t) xbt_os_thread_self(void); + XBT_PUBLIC(const char*) xbt_os_thread_self_name(void); + XBT_PUBLIC(const char*) xbt_os_thread_name(xbt_os_thread_t); /* xbt_os_thread_join frees the joined thread (ie the XBT wrapper around it, the OS frees the rest) */ XBT_PUBLIC(void) xbt_os_thread_join(xbt_os_thread_t thread,void ** thread_return); XBT_PUBLIC(void) xbt_os_thread_yield(void);