Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: misleading indentation.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 27 Apr 2012 10:03:57 +0000 (12:03 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 27 Apr 2012 10:37:18 +0000 (12:37 +0200)
src/simix/smx_process.c

index 44943d9..326f0ae 100644 (file)
@@ -392,8 +392,10 @@ void SIMIX_process_resume(smx_process_t process, smx_process_t issuer)
 {
   xbt_assert((process != NULL), "Invalid parameters");
 
-  if(process->context->iwannadie) return;
-    process->suspended = 0;
+  if(process->context->iwannadie)
+    return;
+
+  process->suspended = 0;
 
   /* If we are resuming another process, resume the action it was waiting for
      if any. Otherwise add it to the list of process to run in the next round. */