Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added a reference counter to the s_smx_action data structure
[simgrid.git] / 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;