Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7232 48e7efb5...
[simgrid.git] / src / gras / Virtu / virtu_private.h
index 4171d2e425a3f155d846e0589281dea5ea871e07..916223738e6329d6bda729280e6205d6f50c496d 100644 (file)
@@ -28,20 +28,21 @@ typedef struct {
    * This is the old interface, and will disapear before 3.2
    */
   xbt_set_t libdata;
-   
+
   /* data specific to each process for each module. 
    * Registered with gras_module_add(), retrieved with gras_moddata_get() 
    * 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;
+
+  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 */
+void *gras_libdata_by_name_from_procdata(const char *name,
+                                         gras_procdata_t * pd);
+
+#endif /* GRAS_VIRTU_PRIVATE_H */