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
add getter/setter functions in simix to access more cleanly the process associated...
[simgrid.git]
/
src
/
smpi
/
smpi_global.c
diff --git
a/src/smpi/smpi_global.c
b/src/smpi/smpi_global.c
index
cdbdc96
..
4560524
100644
(file)
--- a/
src/smpi/smpi_global.c
+++ b/
src/smpi/smpi_global.c
@@
-67,7
+67,7
@@
void smpi_process_init(int *argc, char ***argv)
(*argc)--;
data->argc = argc;
data->argv = argv;
(*argc)--;
data->argc = argc;
data->argv = argv;
-
data->mailbox_small->permanent_receiver=proc
;// set the process attached to the mailbox
+
SIMIX_rdv_set_receiver(data->mailbox_small, proc)
;// set the process attached to the mailbox
XBT_DEBUG("<%d> New process in the game: %p", index, proc);
}
}
XBT_DEBUG("<%d> New process in the game: %p", index, proc);
}
}