- xbt_dict_set(host_list, name, host, NULL);
+ xbt_dict_set(host_list, name, host, nullptr);
xbt_die("Cannot call Host::current() from the maestro context");
return SIMIX_process_get_host(smx_proc);
}
xbt_die("Cannot call Host::current() from the maestro context");
return SIMIX_process_get_host(smx_proc);
}
mounts = new boost::unordered_map<std::string, Storage*> ();
xbt_dict_t dict = this->mountedStoragesAsDict();
mounts = new boost::unordered_map<std::string, Storage*> ();
xbt_dict_t dict = this->mountedStoragesAsDict();
const char*Host::property(const char*key) {
simgrid::surf::HostImpl* surf_host = this->extension<simgrid::surf::HostImpl>();
return surf_host->getProperty(key);
const char*Host::property(const char*key) {
simgrid::surf::HostImpl* surf_host = this->extension<simgrid::surf::HostImpl>();
return surf_host->getProperty(key);