X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bcf7fd62bb1e2fa4ebb6430cad22cf24309fad6..4d27a92b07b781ad03da0848332a26c289358bc9:/src/mc/mc_private.h diff --git a/src/mc/mc_private.h b/src/mc/mc_private.h index 17e8c9a4bc..70b34dbd1f 100644 --- a/src/mc/mc_private.h +++ b/src/mc/mc_private.h @@ -72,8 +72,8 @@ void MC_wait_for_requests(void); void MC_show_deadlock(smx_simcall_t req); void MC_show_stack_safety(xbt_fifo_t stack); void MC_dump_stack_safety(xbt_fifo_t stack); - -int SIMIX_pre_mc_random(smx_simcall_t simcall, int min, int max); +void MC_init(void); +int SIMIX_pre_mc_random(smx_simcall_t simcall); /********************************* Requests ***********************************/ int MC_request_depend(smx_simcall_t req1, smx_simcall_t req2); @@ -91,6 +91,7 @@ int MC_process_is_enabled(smx_process_t process); typedef enum { MC_NOT_INTERLEAVE=0, /* Do not interleave (do not execute) */ MC_INTERLEAVE, /* Interleave the process (one or more request) */ + MC_MORE_INTERLEAVE, /* Interleave twice the process (for mc_random simcall) */ MC_DONE /* Already interleaved */ } e_mc_process_state_t; @@ -251,7 +252,6 @@ extern mc_global_t initial_state_safety; void MC_dpor_init(void); void MC_dpor(void); -void MC_init(void); typedef struct s_mc_safety_visited_state{ mc_snapshot_t system_state;