}
Host::~Host() {
- if (mounts != NULL)
- delete mounts;
+ delete pimpl_cpu;
+ delete mounts;
}
Host *Host::by_name(std::string name) {
}
void Host::turn_off() {
- simgrid::simix::simcall<void>(SIMCALL_HOST_OFF, this);
+ simgrid::simix::kernel(std::bind(SIMIX_host_off, this, SIMIX_process_self()));
}
bool Host::is_on() {