]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/dynar_private.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
xbt_ex_display(): do not free the exception after displaying
[simgrid.git] / src / xbt / dynar_private.h
index 5658a52ec6cfa361699b7d4771cb539f5dcff82f..85edb74c0a6232799e66c1e3f8dff8a7d64bbb8c 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;
+  void_f_pvoid_t free_f;
+  xbt_mutex_t    mutex;
 } s_xbt_dynar_t;
 
 #endif /* DYNAR_PRIVATE_H */