X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ffe8ce65fd9a8e18a0469f26f067c3ea6d5d60d4..923896223efc203372ce0a7435cbdb7b539149f6:/src/mc/mc_model_checker.h diff --git a/src/mc/mc_model_checker.h b/src/mc/mc_model_checker.h index 308cf127ff..0b07e8e71c 100644 --- a/src/mc/mc_model_checker.h +++ b/src/mc/mc_model_checker.h @@ -10,10 +10,12 @@ #include #include +#include #include "mc_forward.h" #include "mc_process.h" #include "mc_page_store.h" +#include "mc_protocol.h" SG_BEGIN_DECL() @@ -32,11 +34,20 @@ struct s_mc_model_checker { int fd_pagemap; xbt_dynar_t record; s_mc_process_t process; + /** String pool for host names */ + xbt_dict_t /* */ hosts; }; mc_model_checker_t MC_model_checker_new(pid_t pid, int socket); void MC_model_checker_delete(mc_model_checker_t mc); +static inline +int MC_smx_get_maxpid(void) +{ + // Currently we use the same variable in STANDALONE and in SERVER mode: + return simix_process_maxpid; +} + SG_END_DECL() #endif