Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rewrite a comment
[simgrid.git] / src / xbt / xbt_thread_context.c
index d69597c..60e6b26 100644 (file)
@@ -4,6 +4,7 @@
 \r
 #include "portable.h"                  /* loads context system definitions */\r
 #include "xbt/swag.h"\r
+#include "xbt/xbt_os_thread.h"\r
 \r
 \r
 typedef struct s_xbt_thread_context {\r
@@ -262,7 +263,7 @@ xbt_thread_context_wrapper(void* param)
 {\r
        xbt_thread_context_t context = (xbt_thread_context_t)param;\r
        \r
-       /* signal its starting to the maestro and wait to start its job*/\r
+       /* Tell the maestro we are starting, and wait for its green light */\r
        xbt_os_sem_release(context->end);               \r
        xbt_os_sem_acquire(context->begin);\r
        \r