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
Do not malloc(0), please. It looks ugly
[simgrid.git]
/
src
/
gras
/
Msg
/
msg_private.h
diff --git
a/src/gras/Msg/msg_private.h
b/src/gras/Msg/msg_private.h
index
8366af1
..
54511b7
100644
(file)
--- a/
src/gras/Msg/msg_private.h
+++ b/
src/gras/Msg/msg_private.h
@@
-88,7
+88,7
@@
void gras_cbl_free(void *); /* used to free the memory at the end */
void gras_cblist_free(void *cbl);
/**
void gras_cblist_free(void *cbl);
/**
- * gras_msg_cbctx_t:
+ * gras_msg_cb
_
ctx_t:
*
* Context associated to a given callback (to either regular message or RPC)
*/
*
* Context associated to a given callback (to either regular message or RPC)
*/
@@
-96,7
+96,7
@@
struct s_gras_msg_cb_ctx {
gras_socket_t expeditor;
gras_msgtype_t msgtype;
unsigned long int ID;
gras_socket_t expeditor;
gras_msgtype_t msgtype;
unsigned long int ID;
-
+ double timeout;
};
typedef struct s_gras_msg_cb_ctx s_gras_msg_cb_ctx_t;
};
typedef struct s_gras_msg_cb_ctx s_gras_msg_cb_ctx_t;