Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make room for moddata along with libdata during the conversion
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 Jul 2006 14:07:04 +0000 (14:07 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 19 Jul 2006 14:07:04 +0000 (14:07 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2626 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Virtu/virtu_private.h

index 3787436..ac60812 100644 (file)
@@ -13,6 +13,7 @@
 #ifndef GRAS_VIRTU_PRIVATE_H
 #define GRAS_VIRTU_PRIVATE_H
 
+#include "xbt/dynar.h"
 #include "gras/Virtu/virtu_interface.h"
 
 /** @brief Data for each process */
@@ -21,8 +22,16 @@ typedef struct {
   void *userdata;
 
   /* data specific to each process for each module. 
-     Registered with gras_procdata_add(), retrieved with gras_libdata_get() */
+   * Registered with gras_procdata_add(), retrieved with gras_libdata_get() 
+   * 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;
 } gras_procdata_t;
 
 gras_procdata_t *gras_procdata_get(void);