#include <sys/types.h>
#include <simgrid_config.h>
+#include <xbt/dynar.h>
#include "mc_forward.h"
#include "mc_process.h"
#include "mc_page_store.h"
+#include "mc_protocol.h"
SG_BEGIN_DECL()
int fd_pagemap;
xbt_dynar_t record;
s_mc_process_t process;
+ /** String pool for host names */
+ xbt_dict_t /* <hostname, NULL> */ 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