S4U:
- Barrier::wait returns SG_BARRIER_SERIAL_THREAD for (only) one actor
for consistency with pthread_barrier_wait()
+ - Host::get_englobing_zone() returns the englobing netzone
MSG:
- convert a new set of functions to the S4U C interface and move the old MSG
void route_to(Host* dest, std::vector<kernel::resource::LinkImpl*>& links, double* latency);
void send_to(Host* dest, double byte_amount);
+ NetZone* get_englobing_zone();
/** Block the calling actor on an execution located on the called host
*
* It is not a problem if the actor is not located on the called host.
}
}
+/** @brief Returns the networking zone englobing that host */
+NetZone* Host::get_englobing_zone()
+{
+ return pimpl_netpoint->get_englobing_zone()->get_iface();
+}
+
void Host::send_to(Host* dest, double byte_amount)
{
std::vector<Host*> m_host_list = {this, dest};