Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MSG almost works. It enabled me to find some bug in the SURF. I'm going to optimize...
[simgrid.git] / include / msg / msg.h
index 98d685d..2b4df2d 100644 (file)
@@ -42,7 +42,9 @@ m_host_t *MSG_get_host_table(void);
 m_process_t MSG_process_create(const char *name,
                               m_process_code_t code, void *data,
                               m_host_t host);
-
+m_process_t MSG_process_create_with_arguments(const char *name,
+                                             m_process_code_t code, void *data,
+                                             m_host_t host, int argc, char **argv);
 MSG_error_t MSG_get_arguments(int *argc, char ***argv);
 MSG_error_t MSG_set_arguments(m_process_t process,int argc, char *argv[]);
 
@@ -77,7 +79,7 @@ MSG_error_t MSG_task_put(m_task_t task, m_host_t dest,
                         m_channel_t channel);
 MSG_error_t MSG_task_execute(m_task_t task);
 int MSG_task_Iprobe(m_channel_t channel);
-void MSG_process_sleep(long double nb_sec);
+MSG_error_t MSG_process_sleep(long double nb_sec);
 MSG_error_t MSG_get_errno(void);
 
 /************************** Deprecated ***************************************/