X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/55092bf3f9fe1cccfe72f7ef81fcd51f9a0eb4ca..b686073e4e6991ea9ae4154a13bf693acd738551:/src/kernel/context/ContextThread.cpp?ds=inline diff --git a/src/kernel/context/ContextThread.cpp b/src/kernel/context/ContextThread.cpp index 0dbc048335..bef60c90e1 100644 --- a/src/kernel/context/ContextThread.cpp +++ b/src/kernel/context/ContextThread.cpp @@ -98,7 +98,8 @@ ThreadContext::ThreadContext(std::function code, void_pfn_smxprocess_t cleanup, smx_process_t process, bool maestro) : AttachContext(std::move(code), cleanup, process) { - // We do not need the semaphores when maestro is in main, but we create them anyway for simplicity wrt the case where maestro is externalized + // We do not need the semaphores when maestro is in main, + // but creating them anyway simplifies things when maestro is externalized this->begin_ = xbt_os_sem_init(0); this->end_ = xbt_os_sem_init(0);