Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Direct context switching: clean the semantics of parmap
[simgrid.git] / src / xbt / parmap_private.h
index 0ed8c7a..8b6c1bb 100644 (file)
@@ -35,11 +35,14 @@ void xbt_event_end(xbt_event_t event);
 
 typedef struct s_xbt_parmap {
   e_xbt_parmap_flag_t status;
+#ifdef HAVE_FUTEX_H
   xbt_event_t sync_event;
+#endif
   unsigned int num_workers;
   unsigned int workers_max_id;
   void_f_pvoid_t fun;
   xbt_dynar_t data;
+  unsigned int index;
 } s_xbt_parmap_t;
 
 #endif