X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d3d060aead49b9969ac0e9cb83d58b7959925460..94295894aaa30ec7c01f5deae1da046677897a72:/src/include/xbt/xbt_thread.h diff --git a/src/include/xbt/xbt_thread.h b/src/include/xbt/xbt_thread.h index bb1aae76e6..abe7632bc8 100644 --- a/src/include/xbt/xbt_thread.h +++ b/src/include/xbt/xbt_thread.h @@ -31,6 +31,7 @@ SG_BEGIN_DECL() XBT_PUBLIC(xbt_thread_t) xbt_thread_create(pvoid_f_pvoid_t start_routine,void* param); XBT_PUBLIC(void) xbt_thread_exit(int *retcode); 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) */ XBT_PUBLIC(void) xbt_thread_join(xbt_thread_t thread,void ** thread_return); XBT_PUBLIC(void) xbt_thread_yield(void);