Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
damn ANSI C
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 5 Jun 2008 10:03:14 +0000 (10:03 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 5 Jun 2008 10:03:14 +0000 (10:03 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5541 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_context_thread.c

index 9173753..5a55df3 100644 (file)
@@ -284,10 +284,11 @@ static void xbt_ctx_thread_suspend(xbt_context_t context)
 
 static void xbt_ctx_thread_resume(xbt_context_t context)
 {
 
 static void xbt_ctx_thread_resume(xbt_context_t context)
 {
-  DEBUG1("Resume context '%s'",context->name);
   /* save the current context */
   xbt_context_t self = current_context;
 
   /* save the current context */
   xbt_context_t self = current_context;
 
+  DEBUG1("Resume context '%s'",context->name);
+
   /* update the current context */
   current_context = context;
 
   /* update the current context */
   current_context = context;