-}
-
-smx_activity_t SIMIX_file_open(const char* mount, const char* path, sg_storage_t st)
-{
- if (st->getHost()->isOff())
- THROWF(host_error, 0, "Host %s failed, you cannot call this function", st->getHost()->getCname());
-
- simgrid::kernel::activity::IoImpl* synchro = new simgrid::kernel::activity::IoImpl();
- synchro->host = st->getHost();
- synchro->surf_io = st->pimpl_->open(mount, path);
- synchro->surf_io->setData(synchro);
- XBT_DEBUG("Create io synchro %p", synchro);