Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: Change the reference speed to a command line option
[simgrid.git] / src / xbt / dynar_private.h
index 5658a52..0a9bdfe 100644 (file)
 #ifndef DYNAR_PRIVATE_H
 #define DYNAR_PRIVATE_H
 
+#include "xbt/synchro.h"
 typedef struct xbt_dynar_s {
-  unsigned long          size;
-  unsigned long          used;
-  unsigned long          elmsize;
-  void           *data;
-  void_f_pvoid_t *free_f;
+  unsigned long size;
+  unsigned long used;
+  unsigned long elmsize;
+  void *data;
+  void_f_pvoid_t free_f;
+  xbt_mutex_t mutex;
 } s_xbt_dynar_t;
 
 #endif /* DYNAR_PRIVATE_H */