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
this directory contains all the projects of the exemples msg and simdag for Visual C++
[simgrid.git]
/
src
/
dynar_unit.c
diff --git
a/src/dynar_unit.c
b/src/dynar_unit.c
index
544ccf1
..
1b0245e
100644
(file)
--- a/
src/dynar_unit.c
+++ b/
src/dynar_unit.c
@@
-8,7
+8,7
@@
/* GENERATED FILE, DO NOT EDIT */
/*******************************/
/* GENERATED FILE, DO NOT EDIT */
/*******************************/
-# 7
19
"xbt/dynar.c"
+# 7
28
"xbt/dynar.c"
#define NB_ELEM 5000
#define NB_ELEM 5000
@@
-459,8
+459,8
@@
XBT_TEST_UNIT("synchronized int",test_dynar_sync_int,"Synchronized dynars of int
xbt_test_add0("==== Have a pusher and a popper on the dynar");
d=xbt_dynar_new_sync(sizeof(int),NULL);
xbt_test_add0("==== Have a pusher and a popper on the dynar");
d=xbt_dynar_new_sync(sizeof(int),NULL);
- pusher = xbt_thread_create(pusher_f,d);
- poper = xbt_thread_create(poper_f,d);
+ pusher = xbt_thread_create(
"pusher",
pusher_f,d);
+ poper = xbt_thread_create(
"poper",
poper_f,d);
xbt_thread_join(pusher);
xbt_thread_join(poper);
xbt_dynar_free(&d);
xbt_thread_join(pusher);
xbt_thread_join(poper);
xbt_dynar_free(&d);