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
Current state. Does not work yet, but I'd prefer not to loose it ;)
[simgrid.git]
/
src
/
gras
/
Virtu
/
sg_process.c
diff --git
a/src/gras/Virtu/sg_process.c
b/src/gras/Virtu/sg_process.c
index
fad11a9
..
ec571ec
100644
(file)
--- a/
src/gras/Virtu/sg_process.c
+++ b/
src/gras/Virtu/sg_process.c
@@
-48,7
+48,6
@@
gras_process_init() {
MSG_host_get_name(MSG_host_self()),GRAS_MAX_CHANNEL);
pd->chan = i;
MSG_host_get_name(MSG_host_self()),GRAS_MAX_CHANNEL);
pd->chan = i;
- pd->sock = NULL;
hd->proc[ i ] = MSG_process_self_PID();
/* take a free RAW channel for this process */
hd->proc[ i ] = MSG_process_self_PID();
/* take a free RAW channel for this process */
@@
-59,7
+58,7
@@
gras_process_init() {
MSG_host_get_name(MSG_host_self()),GRAS_MAX_CHANNEL);
}
pd->rawChan = i;
MSG_host_get_name(MSG_host_self()),GRAS_MAX_CHANNEL);
}
pd->rawChan = i;
- pd->rawSock = NULL;
+
hd->proc[ i ] = MSG_process_self_PID();
VERB2("Creating process '%s' (%d)",
hd->proc[ i ] = MSG_process_self_PID();
VERB2("Creating process '%s' (%d)",
@@
-76,7
+75,7
@@
gras_process_exit() {
int cpt;
gras_sg_portrec_t pr;
int cpt;
gras_sg_portrec_t pr;
- gras_assert0(hd && pd,"Run gras_process_init!!
\n
");
+ gras_assert0(hd && pd,"Run gras_process_init!!");
INFO2("GRAS: Finalizing process '%s' (%d)",
MSG_process_get_name(MSG_process_self()),MSG_process_self_PID());
INFO2("GRAS: Finalizing process '%s' (%d)",
MSG_process_get_name(MSG_process_self()),MSG_process_self_PID());