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
/
gras
/
Msg
/
gras_msg_listener.c
diff --git
a/src/gras/Msg/gras_msg_listener.c
b/src/gras/Msg/gras_msg_listener.c
index
3bf7c63
..
e4930fc
100644
(file)
--- a/
src/gras/Msg/gras_msg_listener.c
+++ b/
src/gras/Msg/gras_msg_listener.c
@@
-97,7
+97,7
@@
gras_msg_listener_t gras_msg_listener_launch(xbt_queue_t msg_exchange)
gras_msgtype_declare("_wakeup_listener", gras_datadesc_by_name("char"));
/* actually start the thread */
gras_msgtype_declare("_wakeup_listener", gras_datadesc_by_name("char"));
/* actually start the thread */
- arg->listener = xbt_thread_create("listener", listener_function, arg);
+ arg->listener = xbt_thread_create("listener", listener_function, arg
,0/*not joinable*/
);
gras_os_sleep(0); /* TODO: useless? give the listener a chance to initialize even if the main is empty and we cancel it right afterward */
return arg;
}
gras_os_sleep(0); /* TODO: useless? give the listener a chance to initialize even if the main is empty and we cancel it right afterward */
return arg;
}