X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e34aedcc066725448eee18de1aea881fd6697ba1..86fc1e3c11c1ed868c5f3c4175b654a150fcd1a7:/include/simgrid/msg.h diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index 173a1de00e..b562b47a2a 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -140,6 +141,7 @@ XBT_PUBLIC void MSG_process_suspend(msg_process_t process); XBT_PUBLIC void MSG_process_resume(msg_process_t process); XBT_PUBLIC int MSG_process_is_suspended(msg_process_t process); XBT_PUBLIC void MSG_process_restart(msg_process_t process); +XBT_PUBLIC void MSG_process_auto_restart_set(msg_process_t process, int auto_restart); XBT_PUBLIC void MSG_process_daemonize(msg_process_t process); XBT_PUBLIC void MSG_process_migrate(msg_process_t process, msg_host_t host); XBT_PUBLIC void MSG_process_join(msg_process_t process, double timeout); @@ -148,9 +150,6 @@ XBT_PUBLIC void MSG_process_killall(); XBT_PUBLIC void MSG_process_set_kill_time(msg_process_t process, double kill_time); XBT_PUBLIC void MSG_process_yield(); -/* ******************************** File ************************************ */ -typedef sg_file_t msg_file_t; -XBT_PUBLIC_DATA int sg_storage_max_file_descriptors; /** * \brief @brief Communication action. @@ -256,7 +255,6 @@ XBT_PUBLIC void* MSG_process_get_data(msg_process_t process); XBT_PUBLIC msg_error_t MSG_process_set_data(msg_process_t process, void* data); XBT_PUBLIC void MSG_process_on_exit(int_f_pvoid_pvoid_t fun, void* data); -XBT_PUBLIC void MSG_process_auto_restart_set(msg_process_t process, int auto_restart); XBT_PUBLIC void MSG_process_ref(msg_process_t process); XBT_PUBLIC void MSG_process_unref(msg_process_t process); @@ -378,7 +376,7 @@ SG_END_DECL() #ifdef __cplusplus XBT_PUBLIC msg_process_t MSG_process_create_from_stdfunc(const char* name, std::function code, void* data, msg_host_t host, - std::map* properties); + std::unordered_map* properties); #endif #endif