Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sorry, for this stupid error
[simgrid.git] / src / xbt / parmap.c
index 0952118..f7fb43c 100644 (file)
@@ -138,9 +138,10 @@ static void xbt_parmap_set_mode(xbt_parmap_t parmap, e_xbt_parmap_mode_t mode)
       parmap->end_f = xbt_parmap_futex_end;
       parmap->signal_f = xbt_parmap_futex_signal;
       parmap->wait_f = xbt_parmap_futex_wait;
-#endif
-      xbt_die("Impossible to use futex on Mac");
       break;
+#else
+      xbt_die("Futex is not available on this OS (maybe you are on a Mac).");
+#endif
 
     case XBT_PARMAP_BUSY_WAIT:
       parmap->start_f = xbt_parmap_busy_start;