break;
default:
THROW_IMPOSSIBLE;
- break;
}
}
}
break;
default:
THROW_IMPOSSIBLE;
- break;
}
on_completion(this);
default:
THROW_IMPOSSIBLE;
- break;
}
if (not simcall->issuer->get_host()->is_on()) {
simcall->issuer->context_->iwannadie = true;
break;
default: /* SURF_VM_STATE_RUNNING or unexpected values */
THROW_IMPOSSIBLE;
- break;
}
XBT_VERB("Shutting down the VM %s even if it's not running but %s", piface_->get_cname(), stateName);
}
Exec* Exec::wait_for(double)
{
THROW_UNIMPLEMENTED;
- return this;
}
/** @brief Returns whether the state of the exec is finished */
Io* Io::wait_for(double)
{
THROW_UNIMPLEMENTED;
- return this;
}
bool Io::test()
THROW_UNIMPLEMENTED;
- return false;
+ // return false
}
/** @brief Returns the amount of flops that remain to be done */
XBT_WARN("Cannot launch process '%s' on failed host '%s'", name.c_str(), host->get_cname());
std::rethrow_exception(
std::make_exception_ptr(simgrid::HostFailureException(XBT_THROW_POINT, "Cannot attach actor on failed host.")));
- return nullptr;
}
ActorImpl* actor = new ActorImpl(xbt::string(name), host);
XBT_WARN("Cannot launch actor '%s' on failed host '%s'", name.c_str(), host->get_cname());
std::rethrow_exception(
std::make_exception_ptr(simgrid::HostFailureException(XBT_THROW_POINT, "Cannot create actor on failed host.")));
- return nullptr;
}
ActorImpl* actor = new ActorImpl(simgrid::xbt::string(name), host);
case SIMCALL_NONE:
THROWF(arg_error, 0, "Asked to do the noop syscall on %s@%s", simcall->issuer->get_cname(),
sg_host_get_name(simcall->issuer->get_host()));
- break;
default:
THROW_IMPOSSIBLE;
}
fd.write(' case SIMCALL_NONE:\n')
fd.write(' THROWF(arg_error, 0, "Asked to do the noop syscall on %s@%s", simcall->issuer->get_cname(),\n')
fd.write(' sg_host_get_name(simcall->issuer->get_host()));\n')
- fd.write(' break;\n')
fd.write(' default:\n')
fd.write(' THROW_IMPOSSIBLE;\n')
fd.write(' }\n')
bool StorageImpl::is_used()
{
THROW_UNIMPLEMENTED;
- return false;
}
void StorageImpl::apply_event(kernel::profile::Event* /*event*/, double /*value*/)
}
THROWF(not_found_error, 0, "Element %p not part of dynar %p", elem, dynar);
- return 0; // Won't happen, just to please eclipse
}
/** @brief Returns the position of the element in the dynar (or -1 if not found)