X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d6b585e44bd28ba41f3faae4a99b602290f16434..21756925d57a6fb6de1dfea9c3e1842d0f101d2c:/src/mc/private.h diff --git a/src/mc/private.h b/src/mc/private.h index 3011c5bd20..42b30001e9 100644 --- a/src/mc/private.h +++ b/src/mc/private.h @@ -66,7 +66,6 @@ void MC_dpor(void); typedef struct s_mc_transition{ XBT_SETSET_HEADERS; char* name; - unsigned int refcount; mc_trans_type_t type; smx_process_t process; smx_rdv_t rdv; @@ -84,11 +83,12 @@ int MC_transition_depend(mc_transition_t, mc_transition_t); /******************************** States **************************************/ typedef struct mc_state{ - xbt_setset_set_t transitions; - xbt_setset_set_t enabled_transitions; - xbt_setset_set_t interleave; - xbt_setset_set_t done; - mc_transition_t executed_transition; + xbt_setset_set_t created_transitions; /* created in this state */ + xbt_setset_set_t transitions; /* created in this state + inherited */ + xbt_setset_set_t enabled_transitions; /* they can be executed by the mc */ + xbt_setset_set_t interleave; /* the ones to be executed by the mc */ + xbt_setset_set_t done; /* already executed transitions */ + mc_transition_t executed_transition; /* last executed transition */ } s_mc_state_t, *mc_state_t; extern xbt_fifo_t mc_stack;