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 an implementation trick to speed up SG realm
[simgrid.git]
/
src
/
gras
/
Virtu
/
virtu_interface.h
diff --git
a/src/gras/Virtu/virtu_interface.h
b/src/gras/Virtu/virtu_interface.h
index
f4fd3f9
..
f15a714
100644
(file)
--- a/
src/gras/Virtu/virtu_interface.h
+++ b/
src/gras/Virtu/virtu_interface.h
@@
-19,8
+19,7
@@
* Data for each process
*/
typedef struct {
* Data for each process
*/
typedef struct {
- /* queue of messages which where received but not wanted in msgWait, and therefore
- temporarly queued until the next msgHandle */
+ /*queue of msgs storing the ones got while msg_wait'ing for something else */
gras_dynar_t *msg_queue; /* elm type: gras_msg_t */
/* registered callbacks for each message */
gras_dynar_t *msg_queue; /* elm type: gras_msg_t */
/* registered callbacks for each message */
@@
-29,12
+28,17
@@
typedef struct {
/* The channel we are listening to in SG for formated messages */
int chan;
/* The channel we are listening to in SG for formated messages */
int chan;
+ gras_socket_t *sock; /* the corresponding socket (SG only) */
+
/* The channel we are listening to in SG for raw send/recv */
int rawChan;
/* The channel we are listening to in SG for raw send/recv */
int rawChan;
+ gras_socket_t *rawSock;/* the corresponding socket (SG only) */
/* globals of the process */
void *userdata;
/* globals of the process */
void *userdata;
-} gras_process_data_t;
-
+} gras_procdata_t;
+/* FIXME: mv to _private? */
+gras_procdata_t *gras_procdata_get(void);
+gras_error_t gras_procdata_init(void);
#endif /* GRAS_VIRTU_INTERFACE_H */
#endif /* GRAS_VIRTU_INTERFACE_H */