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
Lua: separate bindings, state cloning functions and helper functions
[simgrid.git]
/
examples
/
msg
/
tracing
/
ms.c
diff --git
a/examples/msg/tracing/ms.c
b/examples/msg/tracing/ms.c
index 54661e0669b03d6fa5db4cdf55ce412f5cd4145f..77e586b7554adb10a034d2bb4a186980ba563655 100644
(file)
--- a/
examples/msg/tracing/ms.c
+++ b/
examples/msg/tracing/ms.c
@@
-59,11
+59,10
@@
int master(int argc, char *argv[])
int slave(int argc, char *argv[])
{
m_task_t task = NULL;
int slave(int argc, char *argv[])
{
m_task_t task = NULL;
- int res;
TRACE_host_variable_set(MSG_host_self()->name, "is_slave", 1);
while (1) {
TRACE_host_variable_set(MSG_host_self()->name, "is_slave", 1);
while (1) {
-
res =
MSG_task_receive(&(task), "master_mailbox");
+ MSG_task_receive(&(task), "master_mailbox");
if (!strcmp(MSG_task_get_name(task), "finalize")) {
MSG_task_destroy(task);
if (!strcmp(MSG_task_get_name(task), "finalize")) {
MSG_task_destroy(task);