X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/802b8b24b1a8c9e15b5dd40936309327a058a00e..131c883489555ae200d5d3c02b7448731949c352:/src/xbt/xbt_thread_context.c diff --git a/src/xbt/xbt_thread_context.c b/src/xbt/xbt_thread_context.c index d69597c506..60e6b26021 100644 --- a/src/xbt/xbt_thread_context.c +++ b/src/xbt/xbt_thread_context.c @@ -4,6 +4,7 @@ #include "portable.h" /* loads context system definitions */ #include "xbt/swag.h" +#include "xbt/xbt_os_thread.h" typedef struct s_xbt_thread_context { @@ -262,7 +263,7 @@ xbt_thread_context_wrapper(void* param) { xbt_thread_context_t context = (xbt_thread_context_t)param; - /* signal its starting to the maestro and wait to start its job*/ + /* Tell the maestro we are starting, and wait for its green light */ xbt_os_sem_release(context->end); xbt_os_sem_acquire(context->begin);