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
Avoid to throw an exception, and catch it just below.
[simgrid.git]
/
src
/
xbt
/
xbt_rl_synchro.c
diff --git
a/src/xbt/xbt_rl_synchro.c
b/src/xbt/xbt_rl_synchro.c
index
3ae9acb
..
a0a855b
100644
(file)
--- a/
src/xbt/xbt_rl_synchro.c
+++ b/
src/xbt/xbt_rl_synchro.c
@@
-31,7
+31,7
@@
static void *xbt_thread_create_wrapper(void *p)
{
xbt_thread_t t = (xbt_thread_t) p;
XBT_DEBUG("I'm thread %p", p);
-
(*t->code)
(t->userparam);
+
t->code
(t->userparam);
return NULL;
}