X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fd7651841882fc2795ff07da448a240dbdc90220..b6be4a786958974306e8f7b18eae6f1f77ebd4ee:/src/simix/libsmx.cpp diff --git a/src/simix/libsmx.cpp b/src/simix/libsmx.cpp index ddb760abb6..96cd223368 100644 --- a/src/simix/libsmx.cpp +++ b/src/simix/libsmx.cpp @@ -459,7 +459,8 @@ smx_activity_t simcall_comm_iprobe(smx_mailbox_t mbox, int type, int src, int ta void simcall_comm_cancel(smx_activity_t synchro) { simgrid::simix::kernelImmediate([synchro] { - simgrid::kernel::activity::CommImpl* comm = static_cast(synchro); + simgrid::kernel::activity::CommImplPtr comm = + boost::static_pointer_cast(synchro); comm->cancel(); }); } @@ -680,9 +681,9 @@ sg_size_t simcall_file_write(smx_file_t fd, sg_size_t size, sg_host_t host) * \ingroup simix_file_management * \brief */ -smx_file_t simcall_file_open(const char* fullpath, sg_host_t host) +smx_file_t simcall_file_open(const char* mount, const char* path, sg_storage_t st) { - return simcall_BODY_file_open(fullpath, host); + return simcall_BODY_file_open(mount, path, st); } /** @@ -719,15 +720,6 @@ sg_size_t simcall_file_tell(smx_file_t fd){ return simcall_BODY_file_tell(fd); } -/** - * \ingroup simix_file_management - * - */ -xbt_dynar_t simcall_file_get_info(smx_file_t fd) -{ - return simcall_BODY_file_get_info(fd); -} - /** * \ingroup simix_file_management *