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
Sanitize the includes of context objects declarations (was dupplicated and a bit...
[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 b583d58e1e48d526cc67305acfc5fb1f66b23927..64cfe1c514753d8cc016bce30e48ea616951b0eb 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,
0/*not
joinable*/);
+ arg->listener = xbt_thread_create("listener", listener_function, arg,
1/*
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;
}