Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added a reference counter to the s_smx_action data structure
authorcasanova <casanova@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 14 Feb 2009 08:45:22 +0000 (08:45 +0000)
committercasanova <casanova@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 14 Feb 2009 08:45:22 +0000 (08:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6138 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/include/simix/datatypes.h

index 349698d..f87b6a8 100644 (file)
@@ -56,8 +56,8 @@ typedef struct s_smx_action {
   char *name;                  /**< @brief action name if any */
   smx_simdata_action_t simdata;        /**< @brief simulator data */
        xbt_fifo_t cond_list;   /*< conditional variables that must be signaled when the action finish. */
-
   void *data;                  /**< @brief user data */
+  int refcount;                        /**< @brief reference counter */
 } s_smx_action_t;
 
 typedef struct s_smx_action *smx_action_t;