A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SMPI: Change the reference speed to a command line option
[simgrid.git]
/
src
/
xbt
/
dynar_private.h
diff --git
a/src/xbt/dynar_private.h
b/src/xbt/dynar_private.h
index
5658a52
..
0a9bdfe
100644
(file)
--- a/
src/xbt/dynar_private.h
+++ b/
src/xbt/dynar_private.h
@@
-10,12
+10,14
@@
#ifndef DYNAR_PRIVATE_H
#define DYNAR_PRIVATE_H
#ifndef DYNAR_PRIVATE_H
#define DYNAR_PRIVATE_H
+#include "xbt/synchro.h"
typedef struct xbt_dynar_s {
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 */
} s_xbt_dynar_t;
#endif /* DYNAR_PRIVATE_H */