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
Change the prototype of xbt_thread_create(), sorry.
[simgrid.git]
/
src
/
xbt
/
dynar.c
diff --git
a/src/xbt/dynar.c
b/src/xbt/dynar.c
index
0b59641
..
794af42
100644
(file)
--- a/
src/xbt/dynar.c
+++ b/
src/xbt/dynar.c
@@
-1148,8
+1148,8
@@
XBT_TEST_UNIT("synchronized int", test_dynar_sync_int,"Synchronized dynars of in
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", pusher_f, d);
- poper = xbt_thread_create("poper", poper_f, d);
+ pusher = xbt_thread_create("pusher", pusher_f, d
,0/*not joinable*/
);
+ poper = xbt_thread_create("poper", poper_f, d
,0/*not joinable*/
);
xbt_thread_join(pusher);
xbt_thread_join(poper);
xbt_dynar_free(&d);
xbt_thread_join(pusher);
xbt_thread_join(poper);
xbt_dynar_free(&d);