Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
[simgrid.git] / src / gras / Virtu / virtu_private.h
index ac60812..d487f16 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "xbt/dynar.h"
 #include "gras/Virtu/virtu_interface.h"
+#include "simix/simix.h"
+#include "gras/Msg/msg_private.h"
 
 /** @brief Data for each process */
 typedef struct {
@@ -32,10 +34,14 @@ typedef struct {
    * This is the new interface
    */
   xbt_dynar_t moddata;
+       
+  int pid; /* pid of process, only for SG */
+  int ppid; /* ppid of process, only for SG */
+   
+  gras_msg_listener_t listener; /* the thread in charge of the incomming communication for this process */
 } gras_procdata_t;
 
 gras_procdata_t *gras_procdata_get(void);
 void *gras_libdata_by_name_from_procdata(const char *name, gras_procdata_t* pd);
    
-   
 #endif  /* GRAS_VIRTU_PRIVATE_H */