Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some more doc
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 10 May 2007 12:58:35 +0000 (12:58 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 10 May 2007 12:58:35 +0000 (12:58 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3499 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/include/xbt/xbt_thread.h

index bb1aae7..abe7632 100644 (file)
@@ -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_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);
 
   XBT_PUBLIC(void) xbt_thread_join(xbt_thread_t thread,void ** thread_return);
   XBT_PUBLIC(void) xbt_thread_yield(void);