Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Die if the context/synchro option is wrong
authorChristophe Thiéry <christopho128@gmail.com>
Wed, 25 Jan 2012 13:16:43 +0000 (14:16 +0100)
committerChristophe Thiéry <christopho128@gmail.com>
Wed, 25 Jan 2012 13:18:59 +0000 (14:18 +0100)
src/surf/surf_config.c

index 3f495f3..6cd40b2 100644 (file)
@@ -247,7 +247,7 @@ static void _surf_cfg_cb_contexts_parallel_mode(const char *name, int pos)
     SIMIX_context_set_parallel_mode(XBT_PARMAP_BUSY_WAIT);
   }
   else {
-    XBT_WARN("Command line setting of the parallel synchronization mode should "
+    xbt_die("Command line setting of the parallel synchronization mode should "
         "be one of \"posix\", \"futex\" or \"busy_wait\"");
   }
 }