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
/
xbt_synchro.c
diff --git
a/src/xbt/xbt_synchro.c
b/src/xbt/xbt_synchro.c
index
7aa1cc0
..
59deea4
100644
(file)
--- a/
src/xbt/xbt_synchro.c
+++ b/
src/xbt/xbt_synchro.c
@@
-39,7
+39,7
@@
void xbt_dynar_dopar(xbt_dynar_t datas, void_f_int_pvoid_t function) {
w->function = function;
w->rank=cursor;
xbt_dynar_push(workers,&w);
w->function = function;
w->rank=cursor;
xbt_dynar_push(workers,&w);
- w->worker = xbt_thread_create("dopar worker",worker_wrapper,w);
+ w->worker = xbt_thread_create("dopar worker",worker_wrapper,w
,1/*joinable*/
);
}
/* wait them all */
xbt_dynar_free(&workers);
}
/* wait them all */
xbt_dynar_free(&workers);