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
cosmetics, plus tracked down a source of problem with measurement sockets
[simgrid.git]
/
src
/
gras
/
Transport
/
transport.c
diff --git
a/src/gras/Transport/transport.c
b/src/gras/Transport/transport.c
index
aefa845
..
9d66b21
100644
(file)
--- a/
src/gras/Transport/transport.c
+++ b/
src/gras/Transport/transport.c
@@
-168,7
+168,8
@@
void gras_trp_socket_new(int incoming,
*dst = sock;
*dst = sock;
- xbt_dynar_push(((gras_trp_procdata_t) gras_libdata_by_id(gras_trp_libdata_id))->sockets,dst);
+ xbt_dynar_push(((gras_trp_procdata_t)
+ gras_libdata_by_id(gras_trp_libdata_id))->sockets,dst);
XBT_OUT;
}
XBT_OUT;
}
@@
-470,7
+471,8
@@
gras_socket_t gras_socket_meas_accept(gras_socket_t peer){
"No need to accept on non-measurement sockets (it's automatic)");
if (!peer->accepting) {
"No need to accept on non-measurement sockets (it's automatic)");
if (!peer->accepting) {
- /* nothing to accept here */
+ /* nothing to accept here (must be in SG) */
+ /* FIXME: this is BAD! since it makes tricky to free the accepted socket*/
return peer;
}
return peer;
}