X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/35ae873aa3a5bab42f9c14d8d032d87abc5ea82b..fcb0b0f21b4416e7cae17a50d9534bb46f81946c:/include/simgrid/msg.h diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index fde4ce41b1..ef9b314695 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -272,22 +272,13 @@ XBT_PUBLIC(void) MSG_create_environment(const char *file); XBT_PUBLIC(msg_process_t) MSG_process_create(const char *name, xbt_main_func_t code, void *data, msg_host_t host); -XBT_PUBLIC(msg_process_t) MSG_process_create_with_arguments(const char *name, - xbt_main_func_t - code, void *data, - msg_host_t host, - int argc, - char **argv); -XBT_PUBLIC(msg_process_t) MSG_process_create_with_environment(const char - *name, - xbt_main_func_t - code, - void *data, - msg_host_t host, - int argc, - char **argv, - xbt_dict_t - properties); +XBT_PUBLIC(msg_process_t) +MSG_process_create_with_arguments(const char* name, xbt_main_func_t code, void* data, msg_host_t host, int argc, + char** argv); +XBT_PUBLIC(msg_process_t) +MSG_process_create_with_environment(const char* name, xbt_main_func_t code, void* data, msg_host_t host, int argc, + char** argv, xbt_dict_t properties); + XBT_PUBLIC(msg_process_t) MSG_process_attach( const char *name, void *data, msg_host_t host, xbt_dict_t properties); @@ -296,6 +287,7 @@ XBT_PUBLIC(void) MSG_process_detach(); XBT_PUBLIC(void) MSG_process_kill(msg_process_t process); XBT_PUBLIC(int) MSG_process_killall(int reset_PIDs); XBT_PUBLIC(msg_error_t) MSG_process_migrate(msg_process_t process, msg_host_t host); +XBT_PUBLIC(void) MSG_process_yield(); XBT_PUBLIC(void *) MSG_process_get_data(msg_process_t process); XBT_PUBLIC(msg_error_t) MSG_process_set_data(msg_process_t process, @@ -469,11 +461,7 @@ XBT_PUBLIC(int) MSG_barrier_wait(msg_bar_t bar); XBT_PUBLIC(int) MSG_vm_is_created(msg_vm_t vm); XBT_PUBLIC(int) MSG_vm_is_running(msg_vm_t vm); XBT_PUBLIC(int) MSG_vm_is_migrating(msg_vm_t vm); - XBT_PUBLIC(int) MSG_vm_is_suspended(msg_vm_t vm); -XBT_PUBLIC(int) MSG_vm_is_saving(msg_vm_t vm); -XBT_PUBLIC(int) MSG_vm_is_saved(msg_vm_t vm); -XBT_PUBLIC(int) MSG_vm_is_restoring(msg_vm_t vm); #define MSG_vm_get_name(vm) MSG_host_get_name(vm) @@ -498,10 +486,6 @@ XBT_PUBLIC(void) MSG_vm_migrate(msg_vm_t vm, msg_host_t destination); XBT_PUBLIC(void) MSG_vm_suspend(msg_vm_t vm); XBT_PUBLIC(void) MSG_vm_resume(msg_vm_t vm); -/* Save the VM state to a disk. */ -XBT_PUBLIC(void) MSG_vm_save(msg_vm_t vm); -XBT_PUBLIC(void) MSG_vm_restore(msg_vm_t vm); - XBT_PUBLIC(msg_host_t) MSG_vm_get_pm(msg_vm_t vm); XBT_PUBLIC(void) MSG_vm_set_bound(msg_vm_t vm, double bound);