X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9eb8b5a3c4a65bf441c487ecef308654d4f384f4..725184f3bce66a3eff87cc3a01e5d96477a5d28a:/src/xbt/dynar_private.h diff --git a/src/xbt/dynar_private.h b/src/xbt/dynar_private.h index 5658a52ec6..0a9bdfea8e 100644 --- a/src/xbt/dynar_private.h +++ b/src/xbt/dynar_private.h @@ -10,12 +10,14 @@ #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 */