Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Follow surf's prototype for parallel tasks.
[simgrid.git] / src / include / simix / simix.h
index 3fa031e..dfc863a 100644 (file)
@@ -135,9 +135,9 @@ XBT_PUBLIC(double) SIMIX_action_get_remains(smx_action_t action);
 
 XBT_PUBLIC(e_surf_action_state_t) SIMIX_action_get_state(smx_action_t action);
 
-XBT_PUBLIC(smx_action_t) SIMIX_action_parallel_execute(char * name, 
+XBT_PUBLIC(smx_action_t) SIMIX_action_parallel_execute(const char * name, 
                                                       int host_nb,      
-                                                      smx_host_t *host_list,
+                                                      const smx_host_t *host_list,
                                                       double *computation_amount,
                                                       double *communication_amount,
                                                       double amount,